Filling up linux partition
paul at city-fan.org
Wed Jun 1 06:50:25 UTC 2005
On Tue, 2005-05-31 at 23:03 +0300, Dotan Cohen wrote:
> On 5/31/05, Paul Howarth <paul at city-fan.org> wrote:
> > On Tue, 2005-05-31 at 22:34 +0300, Dotan Cohen wrote:
> > > Hi all,
> > > I see that I have about 2 gigs of my 10 gig partition left. I went
> > > hunting for bloat and fund that /var is almost 2 gigs and /usr is
> > > almost 4! Does this sound reasonable for a desktop installation? I
> > > also found that /selinux 0 bytes big despite the fact that it does
> > > contain files and folders. And there is a /srv directory that is
> > > empty, along with /proc that is about 500 megs. What are /src and
> > > /proc? Should /usr and /var be so big?
> > /proc (probably /selinux too) is a virtual filesystem and takes no
> > space.
> > /var may be full of update packages if you use yum and don't
> > periodically do a "yum clean packages", or if you use up2date and don't
> > clear out the up2date cache directory from time to time.
> > I've no idea what /src is; I don't have one on any system here.
> > Paul.
> > --
> > Paul Howarth <paul at city-fan.org>
> I used to use up2date, but now I use yum. Can I just clean out
> /var/cache? I have the following directries in there:
> alchemist, apt, gstreamer-0.8, man, mod_proxy, samba, yum
No, leave them alone.
You can clean out the up2date cache by doing:
# rm -rf /var/spool/up2date/*
This will leave an empty directory /var/spool/up2date, which is the
state up2date would be in if it had just been installed.
Paul Howarth <paul at city-fan.org>
More information about the users