3.1.11.3. Autofs mount

Up one level

-

Key points to auto mount:

  • Load the vfat module to allow /etc/auto.misc to contain -fstype=auto:

         # modprobe vfat # prior to the floppy access attempt
          ... or to automate this setting,
         # echo "vfat" >> /etc/modules
          ... and reboot the system.
    
  • Set /etc/auto.misc as follows:

         floppy -fstype=auto,sync,nodev,nosuid,gid=100,umask=000 :/dev/fd0
          ... where gid=100 is "users".
    
  • Create cdrom and floppy links in /home/user, that point to /var/autofs/misc/cdrom and /var/autofs/misc/floppy respectively.

  • Add user to the "users" group.

(no ads!)