Re: hdiutil create fails to work on MacOS X 10.3.5
Re: hdiutil create fails to work on MacOS X 10.3.5
- Subject: Re: hdiutil create fails to work on MacOS X 10.3.5
- From: Håkan Johansson <email@hidden>
- Date: Fri, 15 Oct 2004 17:01:14 +0200
On Oct 6, 2004, at 02:46, Hall, Warwick D wrote:
<x-tad-bigger>Cocoa developers,</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>I recently bought a booked called “MacOS X Unleashed” and it explains a section on how to run the disk image (.dmg) command line utility called hdiutil. I believe the book was written in Jaguar days, so maybe out of date.</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>Basically when I call</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>prompt $ hdiutil create [some options like –sectors] funkymonkey</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>… the result is “Failed- error 704”.</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>When I run with the –debug and –verbose options a lot of stuff is spat out which seems to suggest that the hdiutil program is having trouble (read: cannot) loading the DiskImage framework (and it seems to attempt this more than once). I find the DiskImage.framework in my /System/Library/PrivateFramework directory.</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>What gives?</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>Regards,</x-tad-bigger>
<x-tad-bigger>Warwick Hall</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>PS How do you search the mailing list archives for keywords? </x-tad-bigger><x-tad-bigger>http://lists.apple.com/archives/cocoa-dev/index.html</x-tad-bigger><x-tad-bigger> does not seem to have a keyword search ability…</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
I am not sure this is your problem, but you have to give size or source dir info.
For example, this one works perfectly for me (Creates a 8MB HFS+ Read/Write dmg):
hdiutil create -size 8m -fs HFS+ -ov some.dmg
If you have a catalogue named "MyDmg" and want to create a compressed, read only
dmg from it (works only on 10.3 and later):
hdiutil create -srcdir MyDmg -fs HFS+ -ov my.dmg
PS. Searching the list archives are done at http://www.cocoabuilder.com/
---
The universe hates you. Deal with it.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden