Re: Problems with hdiutil
Re: Problems with hdiutil
- Subject: Re: Problems with hdiutil
- From: Dair Grant <email@hidden>
- Date: Wed, 2 Aug 2006 09:50:00 +0100
David Litwin wrote:
>>If you add -size with a value to the create line, it'll work out
>>correctly. I guess it's not correctly setting the size and creating
>>an invalid dmg file.
>
>I can't very well guess the compressed size :)
One option would be to create a sparse image that's larger than you'll
ever need (e.g., 1Gb), which can then be shrunk when you compress it.
This is the approach I use in my dmgutil script:
<http://www.refnum.com/products/dmgutil/>
Sparse images require their maximum size be free at the time of
creation, but assuming you have enough local disk space this approach
works well.
-dair
___________________________________________________
mailto:email@hidden http://www.refnum.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden