mercredi 24 janvier 2018

NFS and Automount on a new client

  • sudo apt install autofs
  • sudo vi /etc/auto.master, then uncomment the /net line:
# NOTE: mounts done from a hosts map will be mounted with the
#    "nosuid" and "nodev" options unless the "suid" and "dev"
#    options are explicitly given.
#
/net    -hosts
  • sudo mkdir /net
  •  sudo systemctl restart autofs
  • ls /net/server/home/user

Aucun commentaire: