Re: Disabling auto-mounting of CDROM
Re: Disabling auto-mounting of CDROM
- Subject: Re: Disabling auto-mounting of CDROM
- From: "Shayne Wissler" <email@hidden>
- Date: Fri, 21 Nov 2008 10:19:32 -0700
On Thu, Nov 20, 2008 at 8:49 PM,
<email@hidden> wrote:
On Thu, November 20, 2008 7:29 pm, Shayne Wissler wrote:
> Hello,
>
> I'm trying to get OSX to stop automounting the CDROM. This is important
> for
> an application I'm writing that uses cdrecord--the automounting conflicts
> with cdrecord, and I don't need automounting.
>
> The first thing I tried was removing disk arbitration:
If you want your application to work on systems other than your own,
removing parts of the system isn't a good idea.
True, but I don't need it to work on other systems than these. These systems don't even have a keyboard/mouse, they are special-purpose.
It seems to me there ought to be a simple way to disable disk arbitration without bringing down the whole system.
I suggest looking at the public DiskArbitration.framework. The
documentation is somewhat sparse, but the source is open and DADiskClaim()
may do what you need to prevent Disk Arbitration from doing its thing when
you insert a blank disk.
I will look at this, but I really would just like to disable this automounting behavior on all of these systems. Again they are special-purpose, don't even have a mouse/keyboard, there's no reason for them to be automounting disks.
Thanks,
Shayne Wissler
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden