I just noticed that my /dev/sda2 partition is almost full. why would this happen?
davek@linux-fvw1:~> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 20641788 17307824 2285340 89% /
devtmpfs 960060 220 959840 1% /dev
tmpfs 961504 224 961280 1% /dev/shm
/dev/sda3 217650108 5007212 201586820 3% /home
davek@linux-fvw1:~>
How do I clean up it?
Every boot up should clean up temp files
looks like I found the fix…
Clear Temp Files at Boot
after reboot:
davek@linux-fvw1:~> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 20641788 3854624 15738540 20% /
devtmpfs 960060 220 959840 1% /dev
tmpfs 961504 224 961280 1% /dev/shm
/dev/sda3 217650108 5011160 201582872 3% /home
davek@linux-fvw1:~>
much better. why isn’t this set as default?
Question is - How on earth you filled /tmp so quickly (was this a new install)?
Anyway you found my guide.
It happened to me right after a new install. I tried to sync my iPod with Banshee. My music library is 18 Go, and I realized that Banshee was copying it entirely in /tmp before copying it to the iPod ! I use gtkpod now…
vinoman2 wrote:
> much better. why isn’t this set as default?
one reason might be that a good linux system administrator would
notice the space filling up and take action (as you did)…good job
(keep reading) but an excellent administrator would find how why
it is filling up, and if it is due to some problem then s/he would
endeavor to solve the underlying problem causing /tmp to fill up
(rather than just deal with the symptom of the problem, which you did)…
so, what was filling up your /tmp, and why?
i can tell you that most well developed programs which use /tmp for
their temporary needed files will clean up after themselves…and,
they usually do that as part of their normal shut down routine (if not
before)…
of course, they can’t do that if they crash, or if they are not shut
down in the correct way (which will feel like a crash to the program)…
so, i ask: are you having lots of program crashes? shutting down your
machine by pulling the power cord out of the wall or what?
i guess that things like aborting a YaST software install might
leave junk in your /tmp…and, so might a crashed torrent, or or or
–
DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
yes, it was a new install.