home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!auspex-gw!guy
- From: guy@Auspex.COM (Guy Harris)
- Newsgroups: comp.unix.questions
- Subject: Re: du blocksize=512 (Was: Simple AWK question)
- Message-ID: <14206@auspex-gw.auspex.com>
- Date: 21 Aug 92 17:54:50 GMT
- References: <1992Aug20.192332.19720@news.eng.convex.com> <aegl.714385202@ossi.com> <1992Aug21.141658.24978@news.eng.convex.com>
- Sender: news@auspex-gw.auspex.com
- Organization: Auspex Systems, Santa Clara
- Lines: 14
- Nntp-Posting-Host: bootme.auspex.com
-
-
- >:Suppose you have a file system with zillions of little tiny files (for
- >:example /usr/spool/news). You figure that you can keep the disk
- >:usage down (and thus the expiry time up) by making the filesystem with
- >:a 512 byte block size (or fragment size). Now, if you have a "du" that
- >:only thinks in Kbytes, it won't give you the right answer when you want
- >:to know how much disk space will be freed up if you blow away all of
- >:"alt/useless/bogus/groups".
- >
- >Are you saying that du's answer should vary depending on f/s geometry???
-
- Either that, or he's saying he can't figure out how to make a "du" that
- calculates the sizes in 512-byte units, but prints the result out in
- Kbytes....
-