On 05/31/11 10:14, Gary Jaeger wrote:
> /Volumes/bar
> /Volumes/bar-1
Yes, I've seen that behavior since I first started messing
with OSX back in version 10.1, and it persists. Very annoying!
It's one of the many reasons I don't trust apple's automated
behaviors for mounting drives.
I googled for 'osx duplicate mounts' and found a few things:
http://support.apple.com/kb/TS2474
http://superuser.com/questions/20879/how-to-remove-duplicate-ghost-network-drive-on-os-x
https://discussions.apple.com/message/6958171?messageID=6958171
It's probably either the Finder or Automounter or both working
together to be the cause, but I never actually tracked this down.
If you find its manual interaction in the Finder causes this,
like say the user invoking 'Connect to' even though the drive
is already mounted, there's a 'defaults' command that lets you
disable the Finder's 'Connect to' feature. (This assumes you have
some other approach in place that mounts the server for you, eg.
a boot script that mounts the drives on startup)
There's a whole list of 'defaults' commands here:
http://secrets.blacktree.com/?show=all
(Note the 'More' link at the bottom of that page)
The one I'm talking about would be "prohibit use of Connect To", ie:
defaults write com.apple.finder ProhibitConnectTo -boolean [YES|NO]
I haven't tested this myself, but it might be worth some
experimenting.
If you don't like the automounter, you can disable it
via the /etc/hostconfig: AUTOMOUNT=no. This disables the
automounter from starting on boot. (Not sure if the automounter
is the cause though)
You can configure mounts with a boot script using e.g. this technique:
http://seriss.com/cgi-bin/rush/newsgroup-threaded.cgi?-view+1847+1847
--
Greg Ercolano, erco@(email surpressed)
Seriss Corporation
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)ext.23
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)
|