home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / system / 10522 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  2.4 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!wupost!think.com!ephraim
  2. From: ephraim@think.com (Ephraim Vishniac)
  3. Newsgroups: comp.sys.mac.system
  4. Subject: Re: "Get Info" reports different size when file is moved
  5. Message-ID: <1592g8INNptm@early-bird.think.com>
  6. Date: 30 Jul 92 15:39:52 GMT
  7. Article-I.D.: early-bi.1592g8INNptm
  8. References: <1992Jul30.141956.13014@eplrx7.es.duPont.com>
  9. Distribution: usa
  10. Organization: Thinking Machines Corporation, Cambridge MA, USA
  11. Lines: 41
  12. NNTP-Posting-Host: leander.think.com
  13.  
  14. In article <1992Jul30.141956.13014@eplrx7.es.duPont.com> poster writes:
  15. >The specific situation.
  16. >----------------------
  17. >Mac with system 7 is used to create an MS-Word file (with one word in it).
  18. >Get Info reports file is:        3K (2048 bytes used)
  19.  
  20. >Document is transferred to floppy.
  21. >Get Info reports this copy is:    2K (2048 bytes used)
  22.  
  23. >Floppy put into system 6 Mac, Get Info shows same as previous (2K)
  24.  
  25. >Document copied to system 6 Mac's hard drive (a large drive ~1.2GB)
  26.  
  27. >Get Info reports this copy is:    17K (2048 bytes used)
  28. >----------------------
  29. >Why would 17K of disk space be needed to store a 2K document.  I know there is
  30. >some overhead with format info, directory info and pointers, but
  31. >a 17:2 ratio?  Would sectors on a large capacity drive be much larger (some
  32. >minimum greater than 2K)?  Or does it relate to a difference in the way system
  33. >6 and system 7 handle these things?
  34.  
  35. Disk space is allocated in "volume allocation units," which aren't
  36. necessarily sectors. The Mac keeps track of which VAUs are allocated
  37. in a bitmap for each volume. The bitmap has a fixed size, which means
  38. that your 1.2GB disk, with about 2,400,000 sectors, doesn't have very
  39. many more VAUs than your 800K floppy, with 1600 sectors. 
  40.  
  41. So, what you're seeing is that the big disk's VAU is 34 sectors (17K).
  42. You simply can't allocate any less space than that for a non-empty
  43. file. If this is a significant problem, partition your disk. The
  44. smaller volumes will have smaller VAUs. 
  45.  
  46. This is unrelated to System 7/6 differences. The volume organization
  47. is unchanged since the introduction of HFS around System 4.1(?). Of
  48. course, nobody had a 1.2GB disk on their Mac then. 
  49.  
  50. -- 
  51. Ephraim Vishniac    ephraim@think.com   ThinkingCorp@applelink.apple.com
  52.  Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142
  53.         One of the flaws in the anarchic bopper society was
  54.         the ease with which such crazed rumors could spread.
  55.