mount "damaged" disk image in shellscript on 10.4

Alex Satrapa grail at goldweb.com.au
Tue Jul 29 22:45:43 PDT 2008


On 30/07/2008, at 15:35 , Chad Leigh -- ObjectWerks wrote:

> I am trying to write a shell script on a 10.4 system that uses  
> hdiutil to mount a disk image at system boot time. ...
>
>> The disk image you are opening may be damaged and could damage  
>> your system.
>> Are you sure you want to open this disk image? (Y/N)

I think the solution to your problem is expect(1).

HTH
Alex




More information about the MacOSX-admin mailing list