Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ebuildit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Finnish
View previous topic :: View next topic  
Author Message
presidentti
n00b
n00b


Joined: 31 Jan 2006
Posts: 36

PostPosted: Sun May 27, 2007 8:06 pm    Post subject: Ebuildit Reply with quote

Jättääkö portage asennetut ebuildit johonkin, vai poistaako automaattisesti? Jos jättää niin mistä ne saisi poistettua?

35gigan osiosta gentoo on vienyt jo 20.. jokin katsokaas mättää.
Back to top
View user's profile Send private message
juki_
n00b
n00b


Joined: 26 Oct 2003
Posts: 16
Location: Finland

PostPosted: Mon May 28, 2007 10:58 am    Post subject: Reply with quote

Tarkistappa /usr/portage/distfiles sisältö.

Sinne kertyy kaikki ladatut ohjelmistopaketit eri versioineen, mitä asentelet koneeseesi, mutta mitä ei tyhjennetä automaattisesti missään vaiheessa.

Portagesta löytyy ohjelma nimeltä tmpwatch, joka on ihan näppärä tuon hallintaan. Sen mukana tulee automaattisesti cronia varten tiedosto /etc/cron.daily/tmpwatch minkä avulla saat siistittyä vanhat tiedostot distifilestä helposti.
_________________
- Jukka
Back to top
View user's profile Send private message
presidentti
n00b
n00b


Joined: 31 Jan 2006
Posts: 36

PostPosted: Mon May 28, 2007 12:37 pm    Post subject: Reply with quote

Katsoin, ja siltikin lähti vain 1.5 gigaa. Ehkä sitten vaan kone on jo niin täynnä softaa.
Back to top
View user's profile Send private message
Obi-Lan
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 230
Location: Riihimäki

PostPosted: Mon May 28, 2007 6:06 pm    Post subject: Reply with quote

Code:

$ du -h --max-depth=1 /
Back to top
View user's profile Send private message
Flammie
Retired Dev
Retired Dev


Joined: 02 Jun 2003
Posts: 633
Location: Dublin, Ireland

PostPosted: Mon May 28, 2007 6:23 pm    Post subject: Reply with quote

/var/tmp/portagessa voi olla asetuksista riippuen väliaikaistiedostoja.
Back to top
View user's profile Send private message
presidentti
n00b
n00b


Joined: 31 Jan 2006
Posts: 36

PostPosted: Tue May 29, 2007 5:56 am    Post subject: Reply with quote

Obi-Lan wrote:
Code:

$ du -h --max-depth=1 /


dhcppc0 # du -h --max-depth=1 /
8,7M /boot
du: tiedostoa ”/proc/19048/task/19048/fd/4” ei voi käsitellä: Tiedostoa tai hakemistoa ei ole
du: tiedostoa ”/proc/19048/fd/4” ei voi käsitellä: Tiedostoa tai hakemistoa ei ole
0 /proc
45G /mnt
4,6M /sbin
6,3M /tmp
768K /dev
3,3G /home
72M /etc
16K /lost+found
240M /var
37M /lib
5,1G /root
0 /sys
4,0K /media
3,7G /usr
12K /Recycled
190M /opt
7,4M /bin
58G /

Mietin vaan että mihin /Rootissa menee tuo viisi gigaa.. varsinkaan kun siellä ei ole edes piilotiedostoissa mitään,
Back to top
View user's profile Send private message
Cougar81
n00b
n00b


Joined: 08 Nov 2002
Posts: 42
Location: Helsinki, Finland

PostPosted: Wed May 30, 2007 7:48 am    Post subject: Reply with quote

Komento
Code:
du -a --max-depth=1 /root | sort -n | tail -5

näyttää /root kansion viisi suurinta tiedostoa/alikansiota

Harvemmin tuonne rootin kotikansioon kertyy mitään ylimääräistä, oletko kenties käsin asentanut jotain softaa ja unohtanut asennustiedostot sinne?
Back to top
View user's profile Send private message
presidentti
n00b
n00b


Joined: 31 Jan 2006
Posts: 36

PostPosted: Wed May 30, 2007 1:58 pm    Post subject: Reply with quote

ei siellä ole mitään, vain google earthin pikakuvake. wtf?
Back to top
View user's profile Send private message
presidentti
n00b
n00b


Joined: 31 Jan 2006
Posts: 36

PostPosted: Wed May 30, 2007 6:51 pm    Post subject: Reply with quote

Korjataan heti.. kyllä sieltä sitten löytyi piilotiedostoja. Turhat poistettu ja tilaa vapautui varmaan sen verran, mitä voikin vapautua.
Back to top
View user's profile Send private message
P J
n00b
n00b


Joined: 10 Nov 2005
Posts: 36
Location: Finland

PostPosted: Thu May 31, 2007 11:15 am    Post subject: Reply with quote

Kannattaa varmaankin asentaa tmpwatch portagesta. Se siivoaa kätevästi vanhat ja turhat väliaikaiset tiedostot ja distfiles-kansion.
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Wed Jul 04, 2007 8:36 pm    Post subject: Reply with quote

Ja luulisi että sulla on asennettuna app-portage/gentoolkit joka sisältää mm. eclean-dist komennon joka putsaa tarpeettomat sorsat.
_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Finnish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum