diff options
author | trasz <trasz@FreeBSD.org> | 2015-05-21 13:08:30 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-05-21 13:08:30 +0000 |
commit | 94c4b3025c551ddf360cf5ab5d4823f85a31d20c (patch) | |
tree | a40be5cbc0d2bb6d7fc2972528a20b27abe2b583 /etc/auto_master | |
parent | 67f688612fea61b526d18f51bc9f0b9599aed951 (diff) | |
download | FreeBSD-src-94c4b3025c551ddf360cf5ab5d4823f85a31d20c.zip FreeBSD-src-94c4b3025c551ddf360cf5ab5d4823f85a31d20c.tar.gz |
MFC r275681:
Add "-media" autofs map, to access data on removable media, such as CD
drives or flash keys. It can be enabled by uncommenting a single entry
in default /etc/auto_master. It can also be easily modified to use
fuse-based filesystems instead of in-kernel ones.
There is still one deficiency - the mountpoints are permanent, they
don't disappear when user removes the media. Fixing it needs some
autofs changes.
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'etc/auto_master')
-rw-r--r-- | etc/auto_master | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/auto_master b/etc/auto_master index 3b3e5da..2e4db21 100644 --- a/etc/auto_master +++ b/etc/auto_master @@ -3,3 +3,6 @@ # Automounter master map, see auto_master(5) for details. # /net -hosts -nobrowse,nosuid +# When using the -media special map, make sure to edit devd.conf(5) +# to move the call to "automount -c" out of the comments section. +#/media -media -nosuid |