Re: auto mounting a partition with nobrowse
Re: auto mounting a partition with nobrowse
- Subject: Re: auto mounting a partition with nobrowse
- From: Chris Suter <email@hidden>
- Date: Fri, 14 May 2010 09:10:07 +1000
Hi Dale,
On Thu, May 13, 2010 at 7:29 PM, websrvr
<email@hidden> wrote:
> Using DiskArbitration seems to offer the results I need so I started coding
> a little test app but due to the lack of sample code I'm not sure I'm doing
> any of it properly since it segfaults when I use DADiskMountWithArguments().
I'm not sure why you're pursuing this approach. In my opinion, unless
I'm misunderstanding your requirements, I think it'll be much easier
for you to change the Content Hint parameter for your IOMedia object
(so that Disk Arbitration doesn't try and mount it) and then mount the
volume directly using the mount system call (or by calling the mount
command-line utility which is arguably more future proof).
Kind regards,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden