home > notes > automount [ printer-friendly version ]
Git
SSH and scp
FCGI config
8 page book
Animal Crossing
AOL Images
automount
baked beans
Bass Guitar
AOL main.idx
Crash IE
Ham Radio
Disk Hog
Dual Heads
favicon.ico
FireFox prefetch
Highway Hacking
ISO images
Chip's Challenge
ladder
lunch
mmencode
PHOENIX
PostScript
Powershell
prtdiag
rsync
samba
sims cheats
Sim Tower hack
Solaris USB
spray cans
SSI Banners
HTML Symbols
ToolTalk error
vistium
CDE Wallpaper
Windows 7 Password

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!


home Cry havoc, and let slip the dogs of war! privacy