Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!mcsun!ukc!slxsys!ibmpcug!miclon!rbunten From: rbunten@miclon.uucp (Rob Bunten) Newsgroups: comp.unix.questions Subject: finding disk usage of partitions Message-ID: <1990Jul4.113139.5129@miclon.uucp> Date: 4 Jul 90 11:31:39 GMT Organization: Micrognosis, London, UK Lines: 14 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