• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Snow Arithmetic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snow Arithmetic


  • Subject: Re: Snow Arithmetic
  • From: Yvan KOENIG <email@hidden>
  • Date: Mon, 31 Aug 2009 18:31:31 +0200


Le 31 août 2009 à 02:11:35, Paul Scott a écrit :


Luther,
The answer might lie with the way SL measures GB.

In SL 1GB = 1,000,000,000 bytes
In Leopard 1GB =1,073,741,824 bytes = 1024^3

That is if you have 432.6 GB in SL you would have about 404 GB in Leopard.

So, when you are computing available space, be aware that you might have some discrepancies like that.


Deivy Petrescu email@hidden



I think it might be more involved than just GB vs GiB. If not, I'd like someone to explain to me how it is that:

1) Text Edit appears as "16.3MB on disk (12,734,083 bytes)". How do you reconcile those numbers in GB vs GiB? I can't.


It's correct.

You get two kinds of infos.

12,734,083 bytes is the count of bytes written on the HD

16.3 MB 'measures' the count of physical blocks (clusters) used on the HD.

A package like TextEdit contains numerous files.
You may have files of a single byte. Each will use an entire physical block.


On my machine, a physical block is a 4 Kbytes one and it may contain a two bytes file (I made the test).

This may explain the described difference.

Yvan KOENIG (VALLAURIS, France) lundi 31 août 2009 18:31:26



_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Snow Arithmetic (From: Luther Fuller <email@hidden>)
 >Re: Snow Arithmetic (From: Deivy Petrescu <email@hidden>)
 >Re: Snow Arithmetic (From: Paul Scott <email@hidden>)

  • Prev by Date: Here is an example of the weird character thing.
  • Next by Date: Re: Snow Arithmetic
  • Previous by thread: Re: Snow Arithmetic
  • Next by thread: Re: Snow Arithmetic
  • Index(es):
    • Date
    • Thread