home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10269 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.2 KB

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