free up some disk space

Dotan Cohen dotancohen at gmail.com
Sat Mar 19 20:08:58 UTC 2005


On Sat, 19 Mar 2005 12:42:59 -0500, Jeff Kinz <jkinz at kinz.org> wrote:
> On Sat, Mar 19, 2005 at 07:10:28PM +0200, Dotan Cohen wrote:
> > Well, according to df I have used up about 7 of the 8 gigs I have
> > allocated to linux on my disk. I don't have any more to allocate from
> > the windows partion, so I ask what can I erase to free up some space.
> >
> > My /home directory takes up about 700 megs, even though when I add up
> > all the unhidden files, I only get up to about 200 megs. I have half a
> > gig in hidden files?!? How can I  figure out where the bloat is and
> > get rid of it?
> >
> > And that means that my fedora installation, with no servers, is over 6 gigs?
> >
> > Any ideas? Thanks.
> >
> 
> Hi Dotan,
> Please post the output of the "df -h" command:
> 
> This will tell us (and you) how much disk space is used up on each
> partition of your linux system.
> 
> Another command to post the result of is the du command:
> "cd /; du -shal *"
> 
> (both should be done as "root")
> 
> This second command will give you the sizes of things like tmp, var and
> usr.  Most of the space used is probably in your "usr" hierarchy.
> 
> Its probably not bloat, but you may have installed things you don't
> really need.  I have been able to get an FC2 install to fit on a
> "mere" 3.2 GB system but it wasn't an "everything" install.
> 
> --
> "The only system which is truly secure, is one which is switched off
> and unplugged, locked in a titanium lined safe, buried in a concrete
> bunker, surrounded by nerve gas and very highly paid armed guards. Even
> then, I wouldn't stake my life on it" - Gene Spafford
> (Good thing. the law of unintended consequences: A laptop, w/wireless
> NIC and wake on "date" set in the BIOS)
> 
> http://kinz.org
> http://www.fedoranews.org
> Jeff Kinz, Emergent Research, Hudson, MA.
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 

No, I didn't chose 'everything' when I installed.

The when I did du -shal * I got
du: cannot both summarize and show all entries

so I did du * and got an output that was too long to copy. I'm going
to go googleing to find out how to output it to a file (pipe, no).

In the meantime this is what came of df -h:
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      9.9G  7.1G  2.3G  76% /
/dev/hda2              99M   16M   79M  17% /boot
none                  237M     0  237M   0% /dev/shm

So, I have 10 and not 8 gig! But I'd still like to clean it up a bit...

Dotan Cohen

http://English-Lyrics.com/
http://Song-Lyriks.com/




More information about the fedora-list mailing list