Re: Automount /etc/auto.net /etc/auto.smb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx Homepage: http://www.crc.dk

--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]