This maybe a bit controversial on this list but we needed /net
on Linux. So while waiting for AutoFS 4 we simply use autofs for 
the standard maps auto maps on NIS but use amd for /net.

If you install am-utils from the RedHat cd it comes with a /net
preconfigured in /etc/amd.conf and /etc/amd.net. The only thing is it
tries to NFS mount the local machine which is slower, so I changed
amd.net to :

/defaults fs:=${autodir}/${rhost}/root/${rfs};opts:=nosuid,nodev
*       host!=${key};rhost:=${key};type:=host;rfs:=/ \
        host==${key};type:=link;fs:=/


This will create a symbolic link when you /net to the local
machine. This may not be a problem for some people but we have
situations where someone will create a symbolic link in a dir to a
/net somewhere and if that happens to be your machine you'd be out of
luck.

The fact this is on the RedHat CD ie the /net (I don't know 
if amd ships this way), I don't know if RedHat anticipated this need.

Thanks

Colin

Reply via email to