• 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
info for sparsebundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

info for sparsebundle


  • Subject: info for sparsebundle
  • From: Luther Fuller <email@hidden>
  • Date: Sun, 26 Oct 2008 16:34:20 -0500

While trying to write a script to get info about a disk image file, I noticed ...

hdiutil imageinfo .....sparseimage
Size Information:
	Total Bytes: 4699717632                   <-- this line is the total of
	Compressed Bytes: 4699717632
	Total Non-Empty Bytes: 2296381440 <-- this line and
	Sector Count: 9179136
	Total Empty Bytes: 2403336192         <-- this line
	Compressed Ratio: 1


hdiutil imageinfo .....sparsebundle Size Information: Total Bytes: 4699717632 <-- this is correct, but Compressed Bytes: 4699717632 Total Non-Empty Bytes: 0 <-- this is incorrect (always = 0) Sector Count: 9179136 Total Empty Bytes: 4699717632 <-- this is incorrect Compressed Ratio: 1

There seems to be a bug in hdiutil. The space available on a .sparsebundle file is reported incorrectly.
Can anyone confirm?


_______________________________________________
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: info for sparsebundle
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: AppleScript strings fail
  • Next by Date: Re: AppleScript strings fail
  • Previous by thread: Re: Now, I have “Left(StringSource, CharCount)” and “Right(StringSource, CharCount)”
  • Next by thread: Re: info for sparsebundle
  • Index(es):
    • Date
    • Thread