Beispiel von Lorien:
cat /etc/auto.nfs
aman_data aman:/data
aman_elements aman:/media/Elements
apaus@lorien:/automount$ cat /etc/auto.master
#
# Sample auto.master file
#[...]
#
+auto.master
/automount /etc/auto.nfs
apaus@lorien:/automount$ cat /etc/fstab
# /etc/fstab: static file system information.
# [...]
# nfs
192.168.178.10:/data /nfs/aman_data nfs rw,soft 0 0
192.168.178.10:/media/Elements /nfs/aman_elements nfs rw 0 0
cat /etc/auto.nfs
aman_data aman:/data
aman_elements aman:/media/Elements
apaus@lorien:/automount$ cat /etc/auto.master
#
# Sample auto.master file
#[...]
#
+auto.master
/automount /etc/auto.nfs
apaus@lorien:/automount$ cat /etc/fstab
# /etc/fstab: static file system information.
# [...]
# nfs
192.168.178.10:/data /nfs/aman_data nfs rw,soft 0 0
192.168.178.10:/media/Elements /nfs/aman_elements nfs rw 0 0
Kommentare