home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10247 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.1 KB  |  27 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!ossi!aegl
  3. From: aegl@ossi.com (Tony Luck)
  4. Subject: du blocksize=512 (Was: Simple AWK question)
  5. Message-ID: <aegl.714385202@ossi.com>
  6. Sender: news@ossi.com (OSSI Newsstand)
  7. Nntp-Posting-Host: nym
  8. Organization: Open Systems Solutions Inc.
  9. References: <l96frkINNsom@phad.hsc.usc.edu> <hm342st.714305966@unidui> <14179@auspex-gw.auspex.com> <1992Aug20.192332.19720@news.eng.convex.com>
  10. Date: Fri, 21 Aug 1992 08:20:02 GMT
  11. Lines: 14
  12.  
  13. Tom Christiansen <tchrist@convex.COM> writes:
  14. >Can anyone explain WTF POSIX.2 decided that utilities should report
  15. >things in demikilobytes instead of real k which we all are more
  16. >likely to think in?  
  17.  
  18. Suppose you have a file system with zillions of little tiny files (for
  19. example /usr/spool/news).  You figure that you can keep the disk
  20. usage down (and thus the expiry time up) by making the filesystem with
  21. a 512 byte block size (or fragment size).  Now, if you have a "du" that
  22. only thinks in Kbytes, it won't give you the right answer when you want
  23. to know how much disk space will be freed up if you blow away all of
  24. "alt/useless/bogus/groups".
  25.  
  26. -Tony Luck <aegl@ossi.com>
  27.