FROM : Håkan Johansson
DATE : Fri Oct 15 17:01:14 2004
On Oct 6, 2004, at 02:46, Hall, Warwick D wrote:
> Cocoa developers,
>
>
>
> 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.
>
>
>
> Basically when I call
>
>
>
> prompt $ hdiutil create [some options like –sectors] funkymonkey
>
>
>
> … the result is “Failed- error 704”.
>
>
>
> 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.
>
>
>
> What gives?
>
>
>
> Regards,
>
> Warwick Hall
>
>
>
> PS How do you search the mailing list archives for keywords?
> http://lists.apple.com/archives/cocoa-dev/index.html does not seem to
> have a keyword search ability…
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> <email_removed>
>
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.
DATE : Fri Oct 15 17:01:14 2004
On Oct 6, 2004, at 02:46, Hall, Warwick D wrote:
> Cocoa developers,
>
>
>
> 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.
>
>
>
> Basically when I call
>
>
>
> prompt $ hdiutil create [some options like –sectors] funkymonkey
>
>
>
> … the result is “Failed- error 704”.
>
>
>
> 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.
>
>
>
> What gives?
>
>
>
> Regards,
>
> Warwick Hall
>
>
>
> PS How do you search the mailing list archives for keywords?
> http://lists.apple.com/archives/cocoa-dev/index.html does not seem to
> have a keyword search ability…
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> <email_removed>
>
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.
| Related mails | Author | Date |
|---|---|---|
| Hall, Warwick D | Oct 6, 02:46 | |
| Håkan Johansson | Oct 15, 17:01 |






Cocoa mail archive

