]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r275681:
authortrasz <trasz@FreeBSD.org>
Thu, 21 May 2015 13:08:30 +0000 (13:08 +0000)
committertrasz <trasz@FreeBSD.org>
Thu, 21 May 2015 13:08:30 +0000 (13:08 +0000)
commit94c4b3025c551ddf360cf5ab5d4823f85a31d20c
treea40be5cbc0d2bb6d7fc2972528a20b27abe2b583
parent67f688612fea61b526d18f51bc9f0b9599aed951
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
etc/auto_master
etc/autofs/Makefile
etc/autofs/special_media [new file with mode: 0755]
etc/devd.conf
usr.sbin/autofs/auto_master.5