Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'thanks and hdiutil suggestion' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
thanks and hdiutil suggestion
Authored by: Anonymous on Nov 26, '02 03:46:48PM
I have prepared images and compressed them or converted them to read-only, mounting them successfully afterwards. Several different sizes, including a 2 gigabyte one that was almost completely full. No problems. It looks like it is just system images (perhaps the boot block info?) that have the problem.

I decided to skip the conversion step and simply go from a disk partition to a compressed image and see what 'asr' could do with that. Here is the sequence I got with the latest one:

% sudo asr -imagescan macosx10.1.5a.dmg
Password:
/usr/bin/hdiutil: detach: "disk1" detached successfully.
/usr/bin/hdiutil: detach: "disk1s1" detached successfully.
/usr/bin/hdiutil: detach: "disk1s2" detached successfully.
asr: unable to unflatten "macosx10.1.5a.dmg" - %s.
asr: unable to write UDIF info into "macosx10.1.5a.dmg" - 78. Function not implemented.
asr: image scan failed - Function not implemented.
There are several things going on, after some reading. A compressed image can still be mounted so that checksums can be computed for many of the files and folders. Once these are done, the image is "unflattened", i.e., made multipart so that the checksums can be appended. Something seems to be going wrong with these steps.

[ Reply to This | # ]
HDIutil and ASR
Authored by: Anonymous on Nov 26, '02 04:39:16PM

Well, I think I have got it, but it will take a few more hours of testing to confirm. I wanted to let you know that I surmounted one of the hurdles.

Since 'asr' cannot seem to 'unflatten' the image, its image scanning function fails. So, I unflattened the image for it:

hdiutil unflatten macosx10.1.5a.dmg

sudo asr -imagescan macosx10.1.5a.dmg

It worked! (or at least, no error messages, which is really not the same thing at all) So, progress at least.



[ Reply to This | # ]