• 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: Deivy Petrescu <email@hidden>
  • Date: Sun, 30 Aug 2009 15:23:03 -0400


On Aug 30, 2009, at 12:53 PM, Luther Fuller wrote:

Now using Snow Leopard. When I backup, I create a sparsebundle with ...

else
"hdiutil create -type SPARSE -megabytes " & imageSize & " -fs HFS+ -layout NONE " & imagePath & ¬
" -volname " & quoted form of imageName & " -attach"
end if
do shell script the result

which I then burn to a 4.7 GB DVD+R. The image disk is now mounted on my desktop and has 432.6 MB of Available space (Get Info says so). I need to copy a 409.1 MB folder into this free space. It should certainly fit. But, after copying 296.2 MB into the free space I receive the message "The operation can't be completed because the disk is full." Yet, the image disk still has 136.1 MB Available.

I restarted into Leopard 10.5.8 on an external startup drive and tried again. But the problem has now infected the old system. 404.1 MB should fit into 412.9 MB, but does not and, yet, there are still 132 MB of free space on the image disk.

Since this problem involves arithmetic, I think it may go deeper than being just a problem with 'hdiutil'. And when it infects another system, it may be really serious. Perhaps I should bug report this.

Any opinion?


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



 _______________________________________________
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

  • Follow-Ups:
    • Re: Snow Arithmetic
      • From: Paul Scott <email@hidden>
    • Re: Snow Arithmetic
      • From: Luther Fuller <email@hidden>
    • Re: Snow Arithmetic
      • From: Luther Fuller <email@hidden>
References: 
 >Snow Arithmetic (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Creating a list
  • Next by Date: Re: AppleScript Editor
  • Previous by thread: Snow Arithmetic
  • Next by thread: Re: Snow Arithmetic
  • Index(es):
    • Date
    • Thread