diff options
author | trasz <trasz@FreeBSD.org> | 2014-12-10 14:36:44 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-12-10 14:36:44 +0000 |
commit | 5a2f0c0e007e0c887b40dd74adf4feb0b5703c29 (patch) | |
tree | 7510c012671cf60372e8a75bbee1eff547c1177a /etc/auto_master | |
parent | 3e3c248f832f796881ac2ce0d45049552e8d9a9b (diff) | |
download | FreeBSD-src-5a2f0c0e007e0c887b40dd74adf4feb0b5703c29.zip FreeBSD-src-5a2f0c0e007e0c887b40dd74adf4feb0b5703c29.tar.gz |
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.
Differential Revision: https://reviews.freebsd.org/D1210
MFC after: 1 month
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 |