10.3: A fix for local drives not mounting until user login
Tue, Nov 11 2003 at 10:17AM PST • Contributed by: Anonymous
Tue, Nov 11 2003 at 10:17AM PST • Contributed by: Anonymous
I was running into a problem where non-IDE drives would not mount at startup until a user logged in at the GUI. In an all-SCSI system, this meant that I couldn't ssh into the machine and access my volumes (outside of /), and startup scripts that required a separate volume (like moving swap to a different partition/disk) wouldn't run. A solution is to create a file at /Library -> Preferences -> SystemConfiguration -> autodiskmount.plist, with contents:
This tells autodiskmount to mount all local volumes at startup regardless of whether they are potentially removable (or whether the user has logged in yet). This was the issue, by the way. Apple decided to mount (potentially) removable volumes only while a user was logged in at the GUI. Users were assuming that removable volumes got unmounted when they logged out, and were causing file system corruption by disconnecting them while they were still live mounted file systems.
This works in Panther. I'm pretty sure that it also works for Jaguar, if this was even an issue. I don't remember anymore since I've been running Panther on my SCSI machine since the developer preview.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AutomountDisksWithoutUserLogin</key><true/>
</dict>
</plist>
NOTE: The !DOCTYPE entry is shown on two lines; enter it as one with a space between the sets of quotes.
This tells autodiskmount to mount all local volumes at startup regardless of whether they are potentially removable (or whether the user has logged in yet). This was the issue, by the way. Apple decided to mount (potentially) removable volumes only while a user was logged in at the GUI. Users were assuming that removable volumes got unmounted when they logged out, and were causing file system corruption by disconnecting them while they were still live mounted file systems.
This works in Panther. I'm pretty sure that it also works for Jaguar, if this was even an issue. I don't remember anymore since I've been running Panther on my SCSI machine since the developer preview.
•
[49,424 views]
