Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling auto-mounting of CDROM




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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >Disabling auto-mounting of CDROM (From: "Shayne Wissler" <email@hidden>)
 >Re: Disabling auto-mounting of CDROM (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.