Automount /etc/auto.net /etc/auto.smb
Mogens Kjaer
mk at crc.dk
Tue Nov 29 08:17:16 UTC 2005
MJang wrote:
> Just wondering if there is any guidance / docs on the use of these
> scripts, /etc/auto.net and /etc/auto.smb. I understand that I can run
> these as executables, e.g.
>
> /etc/auto.smb remotesmbserver
> /etc/auto.net remotenfsserver
>
> to find shared directories, but I can't tell how to use the automounter
> to mount the output, presumably using /smb and /net.
Example:
# /etc/auto.net server2
-fstype=nfs,hard,intr,nodev,nosuid \
/home server2:/home \
/home/pcsupport server2:/home/pcsupport \
/var/www/html server2:/var/www/html
This means that I can access:
server2:/home as /net/server2/home
server2:/home/pcsupport as /net/server2/home/pcsupport
server2:/var/www/html as /net/server2/var/www/html
(There could be restrictions on the NFS server
so your client machine might not have access).
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk
More information about the fedora-test-list
mailing list