Yep - thats basically okay. However you'll need to do that once per mount
point, and I'd suggest using -v for verbose, just to keep an eye on things.
What distro are you using? has your package manager cached every package
you've ever downloaded? checked /tmp ? how about /lost+found for each
mount point?
One way to find "busy" directories is a
du -s /* | sort -nr
The biggest one will probably be /usr, but /home and /root and /var might
get larger than expected.
> ----------
> From: Vik Olliver[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Tuesday, October 30, 2001 4:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: claustrophobia
>
> Marcus Liddle wrote:
> >
> > Hi-ho
> >
> > Gosh gee ...my little PC has been having so much fun --
> > its getting a very very full root partition !!
> >
> > Filesystem 1k-blocks Used Available Use% Mounted on
> > /dev/hda1 5044156 4768696 19228 100% /
> >
> > O U C H !!
> >
> > I've trimmed a few things and am now poundering "what next??"
>
> Um, slightly bigger numbers, but the same concept applies here. I
> thought "Get a stonking big hard disk" and did. Now I discover that my
> cranky old Cyrix M2 300MHz motherboard won't recognise it. Nuts. The
> spare machine has an identical motherboard. Double nuts.
>
> Kind friend is sending me an Athlon 800MHz board, whcih hopefully will
> solve the problem.
>
> I'm planning on copying the contents of the old partitions into new ones
> using
>
> cp -a /olddir /mnt/newhd
>
> mounting them one by one. Then I plan to swap the drives over properly,
> boot off a floppy, run LILO to make the new HD bootable, and she should
> be done.
>
> Am I an optimist or what?
>
> Vik :v)
> --
> /"\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . /"\
> \ / ASCII Ribbon Campaign One of The Olliver Family \ /
> X - NO HTML/RTF in e-mail http://olliver.family.gen.nz X
> / \ - NO MSWord docs in e-mail Public PGP key available there / \
>