Thread-topic: hdiutil makehybrid succeeds in one case, but fails in another
Hello,
I am new to the use of "hdiutil makehybrid". I was hoping to use it
to create hybrid CDs that support Mac OS X and Windows. However, I
seem to be running into some problems, and I was wondering what the
problem might be.
The workflow I was hoping for was to have the Mac side coming in as
a .dmg file, and the windows side coming in as either files or a .iso
file, and doing something where I create a tree so that the Mac .dmg
file is mounted at a subdirectory named "mac" of a given directory,
and the Windows .iso file is mounted at a subdirectory named "windows"
of that same directory, like so:
$ ls
mac.dmg windows.iso
$ mkdir source
$ hdiutil attach -mountpoint source/mac mac.dmg
$ hdiutil attach -mountpoint source/windows windows.iso
$ hdiutil makehybrid -o hybrid.iso source -hfs -joliet -iso -hide-hfs
source/windows -hide-joliet source/mac -hide-iso source/mac
The primary problem I am running into is that hdiutil makehybrid fails
if the "source" directory (in this case, "source") is not the actual
mount root of an image. I have been able to reproduce the problem
like so, given just about any .dmg file:
$ mkdir source
$ hdiutil attach -mountpoint source/mac mac.dmg
$ hdiutil makehybrid -o hybrid.iso source
However, if I do this:
$ hdiutil makehybrid -o hybrid.iso source
it succeeds. Why is this?
I apologize if this is a silly question, but the only documentation I
have found for "hdiutil makehybrid" is the man page, which may be
sufficient to help an experienced user, but is somewhat lacking for
newcomers. Turning on debug output with -debug may reveal the reason
but I don't know how to parse the debug output. Using -verbose didn't
reveal anything obvious except this (output from slightly different
input sources, which are an example I have created should there be a
need to submit to Radar):
> hdiutil: makehybrid failed - Operation not permitted
> Result for Case 1: 1
> Output is test.iso
> CBSDBackingStore::newProbe directory, not a valid image file.
> DIBackingStoreInstantiatorProbe: interface 0, score -1000,
> CBSDBackingStore
> DIBackingStoreInstantiatorProbe: interface 1, score -1000,
> CBundleBackingStore
> DIBackingStoreInstantiatorProbe: interface 2, score -1000,
> CRAMBackingStore
> DIBackingStoreInstantiatorProbe: interface 3, score -1000,
> CCarbonBackingStore
> DIBackingStoreInstantiatorProbe: interface 4, score -1000,
> CDevBackingStore
> DIBackingStoreInstantiatorProbe: interface 5, score -1000,
> CCURLBackingStore
> DIBackingStoreInstantiatorProbe: interface 6, score -1000,
> CVectoredBackingStore
> DIBackingStoreInstantiatorProbe: nothing to select.
> CBSDBackingStore::newProbe directory, not a valid image file.
> DIBackingStoreInstantiatorProbe: interface 0, score -1000,
> CBSDBackingStore
> DIBackingStoreInstantiatorProbe: interface 1, score -1000,
> CBundleBackingStore
> DIBackingStoreInstantiatorProbe: interface 2, score -1000,
> CRAMBackingStore
> DIBackingStoreInstantiatorProbe: interface 3, score -1000,
> CCarbonBackingStore
> DIBackingStoreInstantiatorProbe: interface 4, score -1000,
> CDevBackingStore
> DIBackingStoreInstantiatorProbe: interface 5, score -1000,
> CCURLBackingStore
> DIBackingStoreInstantiatorProbe: interface 6, score -1000,
> CVectoredBackingStore
> DIBackingStoreInstantiatorProbe: nothing to select.
> input to TAOCreateDRFilesystemTrack:
> Sources:
> Primary Sources:
> 0: /Users/smitty/hdiutil-problems/source/TestImage
> Exceptions:
I am running Mac OS X 10.6.1 10B504, on either a Mac Pro or a MacBook
Pro.
Thanks for any help,
Smith
_______________________________________________
Do not post admin requests to the list. They will be ignored.
DiscRecording mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden