• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: auto mounting a partition with nobrowse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto mounting a partition with nobrowse


  • Subject: Re: auto mounting a partition with nobrowse
  • From: websrvr <email@hidden>
  • Date: Fri, 14 May 2010 01:29:07 -0400
  • Mta-interface: amavisd-new-2.3.3 (2005-08-22) + Maia Mailguard 1.0.1 at daleenterprise.com


On May 13, 2010, at 19:10 PM, Chris Suter wrote:

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).

Having to rely on the existence of the /etc/fstab to do any work is a bad choice.


I wasn't aware that the SampleContentFilter project has options to prevent mounting.

Whatever solution is used must only allow the partition to be available where the software is installed and must do this automatically in the background.

I'm open to other solution if someone has one that works.

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
  • Follow-Ups:
    • Re: auto mounting a partition with nobrowse
      • From: websrvr <email@hidden>
References: 
 >auto mounting a partition with nobrowse (From: websrvr <email@hidden>)
 >Re: auto mounting a partition with nobrowse (From: Daniel Markarian <email@hidden>)
 >Re: auto mounting a partition with nobrowse (From: websrvr <email@hidden>)
 >Re: auto mounting a partition with nobrowse (From: Daniel Markarian <email@hidden>)
 >Re: auto mounting a partition with nobrowse (From: websrvr <email@hidden>)
 >Re: auto mounting a partition with nobrowse (From: Daniel Markarian <email@hidden>)
 >Re: auto mounting a partition with nobrowse (From: websrvr <email@hidden>)
 >Re: auto mounting a partition with nobrowse (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: auto mounting a partition with nobrowse
  • Next by Date: Re: auto mounting a partition with nobrowse
  • Previous by thread: Re: auto mounting a partition with nobrowse
  • Next by thread: Re: auto mounting a partition with nobrowse
  • Index(es):
    • Date
    • Thread