Gavin Clark wrote:
> 
> on 5/28/00 10:14 PM, Mike Zachry  wrote:
> 
> > My partitions are
> > hdb1 as /boot
> > hdb5 as /
> > hdb6 as swap
> > hdb7 as /home
> > when I try to install RPM's now it says they need nnn
> > KB on / filesystem. I have tried uninstalling some of
> > the RPM's (about 10-20 MB of them) and still have
> > 0.0KB left on hdb5. I can't figure out what is taking
> > up all that room. I've cleared Netscape's cache files
> > and that didn't help either.
> 
> if you use gnome file browser you can set it to show you directory sizes.
> that can help you zoom in on just what is so taking up so much space.
> 
> try
> #df -h
> to get a quick overview of disk space
> 
> log files can get big.
> look in /tmp/logs
> 
> Gavin


Well, netscape's cache files should be in your home directory
unless (coughs) you have been surfing as root.  In / you have the
following subdirectories you could move pretty easily if you have
space elsewhere.

/var  #this one stores log files, mail&print spools, and can get
big
/opt  #sometimes used for extra software installs Most kde2 beta
test files live there
/usr  #lotsa binaries--this one can be a gig or more--also doc
and libs and scripts and....
/root #this one is the home directory for root and should not be
large
/tmp 

you CANNOT move

/etc   #and you probably should not move

/bin
/sbin

THose three have little effect from rpm installations anyway.

Now to move any of these, first use df or kdf to find
someplace_with_lotofspace (swl)
In the following example I will assume /home.

then, suppose you want to move /var

# mkdir /home/var
# cp -R -f /var /home/var
# rm -R -f /var
# ln -s /home/var /var

Now all that exists in / is a symbolic link (sometimes called a
shortcut, but not quite the same) called /var which points to the
actual data in /home/var.  And you should have about 20 mb
available in / for more rpms.

Civileme

cp -R -f /var /(swl)/var

Reply via email to