On Wednesday 30 January 2008 14:58, Ken Schneider wrote:
I wonder why anybody would bother with "du" on the command line these days for this kind of task. There are a number of GUI applications to do just that.
http://kdirstat.sourceforge.net/
or Baobab for GNOME or FileLight. ANY of those is way superior to repeatedly typing "du" and trying to figure out manually what's going on.
Because you need to use the tools _installed_ when the root directory is full and you cannot install any other software.
Depending on what you installed initially, chances are you have one of these installed anyway. But even if you don't, the OP had this setup: http://lists.opensuse.org/opensuse/2008-01/msg03094.html
My system looks like this:
Device Size Mount point Free sda2 965.1MB / 0B sda3 60.8MB /boot 46.8MB sda5 9.8GB /usr 4.9GB sda6 2.0GB /var 1.2GB sda7 2.0GB /opt 906.3MB sda8 1011.4MB /tmp 926.4MB sda9 257.3GB /home 154.1GB
So even though / was full, there was still plenty of free space in /usr, /opt, and /var. This is what you need to install software. The "rpm" command will change the RPM DB, which resides in /var/lib/rpm (1.2 GB free). No problem. I didn't check for the other two packages, but kdirstat will install files to /opt/kde3 (906.3 MB free) and to /usr/share/doc (4.9 GB free). So it turns out that even though he tried to delete /proc/kcore, he is not such a newbie after all. At least, his partitioning shows that he did take action to prevent a number of disasters that hit many other people when the root file system is filling up. I agree that most users won't be able to install any more software once the root file system is full since typically they also have /var, /usr, and /opt on the same partition. But not in this case.
And it is always nice to have knowledge of other tools at your disposal.
Sure it's nice to know about other tools so you have a fallback solution when the easier-to-use tools are unavailable for whatever reason, but still you want to choose the right tool for the job. And in most cases, this is the one that is simpler to use. Remember, the OP had a real problem. Is this the time for academic proofs of concept or the time for solutions that work? ;-)
In this case / was full so no other software could be installed for trouble shooting purposes.
See above. ;-) CU -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Nürnberg, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org