[comp.unix.questions] finding disk usage of partitions

rbunten@miclon.uucp (Rob Bunten) (07/04/90)

I'm trying to find out what is on all our disk partitions - size of directories
etc. I've tried combinations of find(1) and du(1), but du goes across NFS mountsand follows links, so I get too many files.

Any ideas on how I can do this sensibly - the thought of doing a level 0 dump
and restoring onto a free disk to check it there doesn't appeal; nor does the
idea of recursive ls -l and ther adding it all up myself (with a little help
from awk).

I'm using Sun-OS 4.0.2 on Sun 3's, 386's and 4's.

Please mail your answers to me at rbunten@micrognosis.co.uk and I'll summarize
what I get and post the results to comp.unix.questions.
---
Rob Bunten		rbunten@micrognosis.co.uk