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

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!convex!convex!tchrist
  3. From: Tom Christiansen <tchrist@convex.COM>
  4. Subject: Re: du blocksize=512 (Was: Simple AWK question)
  5. Originator: tchrist@pixel.convex.com
  6. Sender: usenet@news.eng.convex.com (news access account)
  7. Message-ID: <1992Aug21.141658.24978@news.eng.convex.com>
  8. Date: Fri, 21 Aug 1992 14:16:58 GMT
  9. Reply-To: tchrist@convex.COM (Tom Christiansen)
  10. References: <14179@auspex-gw.auspex.com> <1992Aug20.192332.19720@news.eng.convex.com> <aegl.714385202@ossi.com>
  11. Nntp-Posting-Host: pixel.convex.com
  12. Organization: Convex Computer Corporation, Colorado Springs, CO
  13. X-Disclaimer: This message was written by a user at CONVEX Computer
  14.               Corp. The opinions expressed are those of the user and
  15.               not necessarily those of CONVEX.
  16. Lines: 22
  17.  
  18. From the keyboard of aegl@ossi.com (Tony Luck):
  19. :Tom Christiansen <tchrist@convex.COM> writes:
  20. :>Can anyone explain WTF POSIX.2 decided that utilities should report
  21. :>things in demikilobytes instead of real k which we all are more
  22. :>likely to think in?  
  23. :
  24. :Suppose you have a file system with zillions of little tiny files (for
  25. :example /usr/spool/news).  You figure that you can keep the disk
  26. :usage down (and thus the expiry time up) by making the filesystem with
  27. :a 512 byte block size (or fragment size).  Now, if you have a "du" that
  28. :only thinks in Kbytes, it won't give you the right answer when you want
  29. :to know how much disk space will be freed up if you blow away all of
  30. :"alt/useless/bogus/groups".
  31.  
  32. Are you saying that du's answer should vary depending on f/s geometry???
  33.  
  34. --tom
  35. -- 
  36.     Tom Christiansen      tchrist@convex.com      convex!tchrist
  37.  
  38.  
  39.     "We don't care.  We don't have to.  We're the Phone Company."
  40.