home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!ossi!aegl
- From: aegl@ossi.com (Tony Luck)
- Subject: du blocksize=512 (Was: Simple AWK question)
- Message-ID: <aegl.714385202@ossi.com>
- Sender: news@ossi.com (OSSI Newsstand)
- Nntp-Posting-Host: nym
- Organization: Open Systems Solutions Inc.
- References: <l96frkINNsom@phad.hsc.usc.edu> <hm342st.714305966@unidui> <14179@auspex-gw.auspex.com> <1992Aug20.192332.19720@news.eng.convex.com>
- Date: Fri, 21 Aug 1992 08:20:02 GMT
- Lines: 14
-
- Tom Christiansen <tchrist@convex.COM> writes:
- >Can anyone explain WTF POSIX.2 decided that utilities should report
- >things in demikilobytes instead of real k which we all are more
- >likely to think in?
-
- 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".
-
- -Tony Luck <aegl@ossi.com>
-