Phylu

autofs

Jul 1st, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. #### auto.master
  2. #
  3. # Sample auto.master file
  4. # This is a 'master' automounter map and it has the following format:
  5. # mount-point [map-type[,format]:]map [options]
  6. # For details of the format look at auto.master(5).
  7. #
  8. /misc /etc/autofs/auto.misc
  9. #
  10. # NOTE: mounts done from a hosts map will be mounted with the
  11. # "nosuid" and "nodev" options unless the "suid" and "dev"
  12. # options are explicitly given.
  13. #
  14. /net -hosts --timeout=300,-retry=0
  15. #
  16. # Include /etc/autofs/auto.master.d/*.autofs
  17. # The included files must conform to the format of this file.
  18. #
  19. +dir:/etc/autofs/auto.master.d
  20. #
  21. # Include central master map if it can be found using
  22. # nsswitch sources.
  23. #
  24. # Note that if there are entries for /net or /misc (as
  25. # above) in the included master map any keys that are the
  26. # same will not be seen as the first read key seen takes
  27. # precedence.
  28. #
  29. +auto.master
  30.  
  31. /var/cache/pacman /etc/autofs/auto.nas --timeout=5,retry=0
  32.  
  33.  
  34.  
  35. #### auto.misc
  36. #
  37. # This is an automounter map and it has the following format
  38. # key [ -mount-options-separated-by-comma ] location
  39. # Details may be found in the autofs(5) manpage
  40.  
  41. cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
  42.  
  43. # the following entries are samples to pique your imagination
  44. #linux -ro,soft,intr ftp.example.org:/pub/linux
  45. #boot -fstype=ext2 :/dev/hda1
  46. #floppy -fstype=auto :/dev/fd0
  47. #floppy -fstype=ext2 :/dev/fd0
  48. #e2floppy -fstype=ext2 :/dev/fd0
  49. #jaz -fstype=ext2 :/dev/sdc1
  50. #removable -fstype=ext2 :/dev/hdd
  51.  
  52.  
  53. #### auto.nas
  54. pkg -fstype=nfs,rw,retry=0,-timeout=5 nas:/pkg
Advertisement
Add Comment
Please, Sign In to add comment