Stop Automounting, Dammit!
On some systems, /usr/local and /opt/sfw are automounted
from a central server. This is sometimes handy in a lab
environment, but at other times it really makes things
difficult.
Fortunately, it's easy to turn off. All you have to do
is add a couple of lines to your /etc/auto_master file
and stop/start the automounter service.
Here's an example of an auto_master file with
automounting turned off for /usr/local and /opt/sfw:
# Master map for automounter
#
/usr/local -null
/opt/sfw -null
+auto_master
/net -hosts -nosuid,nobrowse
/home auto_home -nobrowse
/xfn -xfn
After you edit the file to add the two lines,
stop/start the automounter like this:
/etc/rc2.d/S74autofs stop
/etc/rc2.d/S74autofs start
Ta-da!
|