Re: Mounting disk images
Re: Mounting disk images
- Subject: Re: Mounting disk images
- From: "Kyle Sluder" <email@hidden>
- Date: Sat, 19 Jan 2008 12:22:36 -0500
On Jan 19, 2008 12:05 PM, Development <email@hidden> wrote:
> I've been looking through the disk arbitration framework and disk
> recording hoping to find an answer but it's not readily apparent I've
> also looked on the developer site but it only talks about hdid. I want
> to mount a disk image without it appearing on the desktop similar to
> the way that a filevault image mounts. So my question is, Am I
> pursuing a wild ornithopod without due cause? Or is it possible to do
> this.
The framework that does what you want is private. You can use the
--puppetstrings switch to hdiutil (in combination with NSTask) to
mount images programmatically.
You might want to file a bug to let Apple know there are those of us
who would very much appreciate API to do this, rather than having to
go through the oh-so-joyous experience of dealing with text parsing in
a Unicode environment... after all, that's why we're writing in Cocoa,
not shell scripting.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden