Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Ensuring drives/partitions are mounted' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Ensuring drives/partitions are mounted
Authored by: blakers on Jun 17, '04 03:06:38PM
 > there is no mechanism in place to guarantee that the volume has
 > mounted at the time OS X sets up the swap directory. Volumes are
 > mounted by a separate, parallel process from the process that
 > initializes the virtual memory. In order for the method in this hint to
 > function properly, code needs to be added to detect that the process
 > for mounting volumes has terminated before proceeding with the
 > initialization of virtual memory. I don't know how to do that.
here's how, per a comment from Apple in a 'discussion' i'd had on the darwin-kernel list ...
From: Dan Markarian 
To: Darwin Kernel List 
Subject: Re: ?? how to get SystemStarter/diskarbitrationd to wait for drives to mount ??
Date-Sent: Friday, June 11, 2004 8:17 AM -0700


> There are two ways to have it mount at boot.  The first one, also the
> ideal one, is unfortunately not working in 10.3.x due to an oversight
> on our part.  I mention it only for future reference.  It would be to
> list the volume in question by UUID in /etc/fstab along with the "auto"
> option.  This would override any default.

re: "future reference" ... i assume you mean that fstab in not currently being used/checked, not that it currently/default is simply empty.  yes?

> My alternative would be to create the preference file in
> /Library/Preferences/SystemConfiguration/com.apple.DiskArbitration.diskarbitrationd.plist with this:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
   <dict>
      <key>DAMountDeferExternal</key>
      <false/>
   </dict>
</plist>
the mod to "com.apple.DiskArbitration.diskarbitrationd.plist", i can verify on Panther 10.3.4, works perfectly.

richard

[ Reply to This | # ]
Ensuring drives/partitions are mounted
Authored by: bluehz on Jun 18, '04 07:19:00AM

I have been using the /etc/fstab method for over a year - through several OS X upgrades and I can verify that it is STILL working in the current 10.3.4. fstab - is still viable in 10.3.4.



[ Reply to This | # ]