home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / system / 10523 < prev    next >
Encoding:
Text File  |  1992-07-30  |  3.9 KB  |  94 lines

  1. Newsgroups: comp.sys.mac.system
  2. Path: sparky!uunet!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!aland
  3. From: aland@chaos.cs.brandeis.edu (Alan D.)
  4. Subject: Re: "Get Info" reports different size when file is moved [FAQ?]
  5. Message-ID: <aland.712509249@chaos.cs.brandeis.edu>
  6. Sender: news@news.cs.brandeis.edu (USENET News System)
  7. Reply-To: aland@cs.brandeis.edu
  8. Organization: As little as possible
  9. References: <1992Jul30.141956.13014@eplrx7.es.duPont.com>
  10. Distribution: usa
  11. Date: Thu, 30 Jul 1992 15:14:09 GMT
  12. Lines: 80
  13.  
  14. milbouma@esvax.dnet.dupont.com writes:
  15.  
  16. >This subject has come up before, I think, but I need a refresher, prompted by a
  17. >question from a curious fellow Mac support person.
  18.  
  19. Is this in the FAQ list?  Rusty? *grin*
  20.  
  21. >How does the Finder and Get Info calculate/report the amount of disk used by a
  22. >document?
  23.  
  24. The Finder and Get Info are correct...  The file is 2048 bytes long.
  25. (because a Word file has some overhead to it, beyond the actual text
  26. contents).
  27.  
  28. >Mac with system 7 is used to create an MS-Word file (with one word in it).
  29. >Get Info reports file is:        3K (2048 bytes used)
  30.  
  31. This hard drive has either a 1.5 or a 3K block size (minimum amount of
  32. disk space a file can take up).
  33.  
  34. >Document is transferred to floppy.
  35. >Get Info reports this copy is:    2K (2048 bytes used)
  36.  
  37. A floppy has either .5K or 1K blocks; I think .5 but I'm not positive;
  38. therefore this is correct (eg. not wasteful).
  39.  
  40. >Floppy put into system 6 Mac, Get Info shows same as previous (2K)
  41.  
  42. None of this is system-dependent...
  43.  
  44. >Document copied to system 6 Mac's hard drive (a large drive ~1.2GB)
  45.  
  46. >Get Info reports this copy is:    17K (2048 bytes used)
  47.  
  48. The block size on the 1.2GB drive must therefore be 17K.
  49.  
  50. >Why would 17K of disk space be needed to store a 2K document.  I know there is
  51. >some overhead with format info, directory info and pointers, but
  52. >a 17:2 ratio?  Would sectors on a large capacity drive be much larger (some
  53. >minimum greater than 2K)?  Or does it relate to a difference in the way system
  54. >6 and system 7 handle these things?
  55.  
  56. There are, in the current (September) issue of MacUser magazine, a few
  57. "common threads" in the text.  One is this name that keeps popping up,
  58. 'Adam Engst'.  In the letters, "Shareware Top Hits" article, etc...
  59. The other is that you should partition large hard drives ('large'
  60. being greater than 31.5 Meg) in order to efficiently allocate space.
  61. At least, for drives on which you expect to store small documents.
  62.  
  63. Basically, there are a limited number of blocks which can be allocated
  64. on a volume (I believe there are 32768 +/- 2), and if you have more
  65. than that number of blocks, the formatter increases the block size so
  66. you don't exceed that number.  Therefore, if you have a need for
  67. storing many small files (around 1-2K), you should (ideally) make it a
  68. 30 meg partition (which gets you a block size of 1K).
  69.  
  70. For larger files, you can have a larger partition, since the
  71. approximate percentage of wasted space is that much smaller...  If
  72. this makes any sense.
  73.  
  74. So, you should partition your 1.2 gigabyte drive into multiple volumes
  75. (using LaCie's SilverLining, FWB's Hard Drive Toolkit, or Drive7 (the
  76. company which makes this one escapes me...)).  These are the most
  77. 'common' and fully-featured disk formatting/partitioning programs.
  78.  
  79. One thing you should be aware of (and avoid) is that you want to
  80. partition the drive using "hard partitions" (true SCSI partitions)
  81. rather than "soft partitions" (large files which the Mac OS is fooled
  82. into thinking are hard partitions).  Hard partitioning allows you to
  83. mount the volumes when you boot w/out extensions & if you move the
  84. hard drive to another Mac; they can be used as boot drives; if one
  85. crashes, the others will usually be fine.  With soft partitioning, if
  86. the "real" SCSI partition fails, all your soft partitions are goners
  87. as well.
  88.  
  89. Well, there's my treatise on 'mass media block sizes' and
  90. partitioning...  I hope you enjoyed it.  Inaccuracies, etc. should be
  91. sent to me, so I can correct my mistakes...
  92.  
  93.     -=Alan
  94.