home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / aus / mac / 1419 < prev    next >
Encoding:
Text File  |  1992-12-23  |  2.0 KB  |  47 lines

  1. Newsgroups: aus.mac
  2. Path: sparky!uunet!munnari.oz.au!uniwa!bilby.cs.uwa.oz.au!usenet
  3. From: Quinn <quinn@cs.uwa.edu.au>
  4. Subject: Re: Hard drives & file space
  5. Message-ID: <1992Dec24.013805.26306@bilby.cs.uwa.edu.au>
  6. X-Xxdate: Thu, 24 Dec 92 01: 29:08 GMT
  7. Sender: usenet@bilby.cs.uwa.edu.au
  8. Nntp-Posting-Host: eriodon
  9. Organization: The University of Western Australia
  10. X-Useragent: Nuntius v1.1.1d13
  11. References: <9235813.2960@mulga.cs.mu.OZ.AU>
  12. Date: Thu, 24 Dec 1992 01:38:05 GMT
  13. Lines: 32
  14.  
  15. In article <9235813.2960@mulga.cs.mu.OZ.AU> Matt Riddle,
  16. matthew_riddle.pharmacology@muwayf.unimelb.edu.au writes:
  17. >I have encountered an unexpected anomaly when using a large capacity hard
  18. >drive.  Inve noticed that files using less than 16K actually always take
  19. >up exactly 16K of disk space.
  20.  
  21. Welcome to the world of Macintosh HFS (Hierarchical File System) where
  22. the maximum number of allocation units on a volume is 65536.  Therefore
  23. if you have a big drive (say 1GB) then a 1 byte file is going to
  24. take 16K on the disk (1024*1024/65536).
  25.  
  26. But worse than that, each fork of the file requires an allocation
  27. unit so you can have a file contain 512 bytes (256 in the data fork,
  28. 256 in the resource fork) that takes 32K on disk!
  29.  
  30. For more information about the internals of HFS see IM IV-159..174.
  31.  
  32. >I wonder if anyone has a simple reason or solution to offer?
  33.  
  34. The only solution at the moment is to partition the drive into multiple
  35. volumes.  Each volume has a much smaller size, and hence a
  36. smaller allocation block size.  If you half the volume size you
  37. half the internal fragmentation.
  38.  
  39. The only *good* solution is for Apple to write a new file system to
  40. replace HFS.  This isn't going to happen until they release the
  41. (somewhat mythical) File System Manager that (is reported to) make
  42. adding new file systems easy.  Don't hold your breath.
  43.  
  44. Quinn "The Eskimo!"      <quinn@cs.uwa.edu.au>     "Support HAVOC!"
  45. Department of Computer Science, The University of Western Australia
  46.   -- Can anyone say "Seemed like a good idea at the time!"
  47.