Created
August 9, 2012 17:23
-
-
Save pwood/3306131 to your computer and use it in GitHub Desktop.
Automount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Sample auto.master file | |
# This is an automounter map and it has the following format | |
# key [ -mount-options-separated-by-comma ] location | |
# For details of the format look at autofs(5). | |
# | |
#/misc /etc/auto.misc | |
# | |
# 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 | |
# | |
# Include central master map if it can be found using | |
# nsswitch sources. | |
# | |
# Note that if there are entries for /net or /misc (as | |
# above) in the included master map any keys that are the | |
# same will not be seen as the first read key seen takes | |
# precedence. | |
# | |
/nfs/mounts /etc/auto.nfs | |
+auto.master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flourine -soft,intr flourine:/data | |
neon-video -ro,soft,intr neon:/data/media/video |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
peter@titanium:/nfs$ ls -la | |
total 12 | |
dr-xr-xr-x 4 root root 4096 2011-12-31 12:43 . | |
drwxr-xr-x 24 root root 4096 2012-03-16 19:07 .. | |
lrwxrwxrwx 1 root root 20 2011-12-31 12:43 flourine -> /nfs/mounts/flourine | |
drwxr-xr-x 4 root root 0 2012-07-28 18:18 mounts | |
drwxr-xr-x 2 root root 4096 2011-12-31 12:43 neon | |
peter@titanium:/nfs$ cd mounts | |
peter@titanium:/nfs/mounts$ ls -la | |
total 8 | |
drwxr-xr-x 4 root root 0 2012-07-28 18:18 . | |
dr-xr-xr-x 4 root root 4096 2011-12-31 12:43 .. | |
drwxr-xr-x 5 root root 512 2012-02-15 19:59 flourine | |
drwxrwxrwx 5 nobody 65533 5 2012-01-06 18:59 neon-video |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ii autofs5 5.0.5-0ubuntu6 kernel-based automounter for Linux, version 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment