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

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!cs.utexas.edu!asuvax!ukma!vlsi!ulkyvx.louisville.edu!jnsims01
  2. From: jnsims01@ulkyvx.louisville.edu
  3. Newsgroups: comp.sys.mac.system
  4. Subject: Re: "Get Info" reports different size when file is moved
  5. Message-ID: <1992Jul31.101526.1@ulkyvx.louisville.edu>
  6. Date: 31 Jul 92 14:15:26 GMT
  7. References: <1992Jul30.141956.13014@eplrx7.es.duPont.com>
  8. Sender: news@vlsi.louisville.edu (Network News System)
  9. Followup-To: comp.sys.mac.system
  10. Distribution: usa
  11. Organization: University of Louisville
  12. Lines: 50
  13. Nntp-Posting-Host: ulkyvx03.louisville.edu
  14.  
  15. In article <1992Jul30.141956.13014@eplrx7.es.duPont.com>, milbouma@esvax.dnet.
  16.   dupont.com writes:
  17. > This subject has come up before, I think, but I need a refresher, prompted 
  18. > by a question from a curious fellow Mac support person. How does the Finder 
  19. > and Get Info calculate/report the amount of disk used by a document?
  20. > (description of 'The specific situation' deleted to save bandwidth)
  21.  
  22. Two different numbers are reported by 'Get Info': the number in parentheses
  23. reports the actual number of bytes in the file. You'll notice that this number
  24. doesn't change for a given file no matter where or under what System software
  25. it was stored. The other number, reported in kilobytes, is the amount of disk
  26. storage this file occupies. This will vary depending on the smallest chunk of
  27. disk storage that can be allocated to a given file based on System software
  28. version and media capacity - brief explanation follows.
  29.  
  30. Any operating system divides a formatted media into some fixed number of chunks
  31. and then keeps track of which file owns which chunk. Each chunk (called
  32. variously blocks, clusters, etc.) can be assigned to only one file at a time:
  33. the operating system determines who wons what by _allocating_ those chunks. 
  34. Assume for a moment that the the file allocation table under System X can keep
  35. track of 100 chunks of data on whatever media you're using. If you have a 400K
  36. floppy, those chunks will each be 4K big, right? If you have a 800K floppy, on
  37. the other hand, each chunk will be 8K big. A 2k file on the smaller floppy will
  38. be 2k big and will consume 4K of space because that's the smallest allocatable 
  39. unit. The same file on the bigger floppy will still be 2k big, but it will 
  40. consume 8K because, again, that's the smallest allocatable unit. (Note that
  41. these figures are only examples; in practise, the actual smallest allocatable
  42. block will vary depending on version of the operating system, type of media,
  43. and a number of other things.)
  44.  
  45. The ramifications of this are very important: If you have a large capacity
  46. drive, the minimum allocatable block size is likely to be pretty large. This
  47. doesn't really matter if you're only going to store a relatively small number
  48. of files. But if you intend to store lots of small files, you will waste quite
  49. a bit of space because of the difference between the size of your documents and
  50. the smallest allocatable block each one will consume. This is why it can be
  51. very effective to partition your hard drive: this reduces the size of that
  52. minimum allocatable block.
  53.  
  54. I hope that's clear; if not, send me an e-mail or call and I'll try again. 
  55.  
  56.  My wife AND my employer ignore my opinions - feel free to do the same!
  57. .......................................................................
  58. : John Norman Sims, Jr.    : Internet: jnsims01@ulkyvx.louisville.edu :
  59. : University of Louisville :     (or)  jnsims01@ulkyvm.louisville.edu : 
  60. : Computing and            :   BITNET: jnsims01@ulkyvm                :
  61. :       Telecommunications : You can't win, you can't break even,     :
  62. : Phone: (502) 588-5565    :       and you can't get out of the game! :
  63. :.....................................................................:
  64.