Commit Graph

8 Commits

Author SHA1 Message Date
Edward Tomasz Napierala
e299e01f56 Make the autofs(5) -hosts map more robust, primarily to make it correctly
handle NFS shares containing whitespace. This also adds the -E parameter
to showmount(8).

Reviewed by:	emaste@, jhibbits@, wblock@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D5649
2016-03-23 12:13:53 +00:00
Edward Tomasz Napierala
0b1b2722bf Add a special case for NTFS to the -media autofs(5) map.
Submitted by:	lme@ (earlier version)
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
2016-03-18 09:54:09 +00:00
Edward Tomasz Napierala
94e900c6cd Restore accidentaly removed comment line.
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
2016-03-14 18:57:09 +00:00
Edward Tomasz Napierala
0cae9d3d4a Fix autofs handling of filesystem labels containing plus signs and slashes.
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
2016-03-14 17:45:39 +00:00
Edward Tomasz Napierala
a600c3dd88 Make the autofs LDAP script cope with server returning entries with
ENTRY_ATTRIBUTE (eg cn) after the VALUE_ATTRIBUTE (eg automountInformation),
instead of before.

PR:		198557
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
2015-03-21 09:42:37 +00:00
Edward Tomasz Napierala
286c4906d6 Add -noauto autofs map, for automatic handling of fstab entries
marked "noauto".

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
2015-03-13 12:44:46 +00:00
Edward Tomasz Napierala
d0ff09c9c0 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
2014-12-10 14:36:44 +00:00
Edward Tomasz Napierala
3914ddf8a7 Bring in the new automounter, similar to what's provided in most other
UNIX systems, eg. MacOS X and Solaris.  It uses Sun-compatible map format,
has proper kernel support, and LDAP integration.

There are still a few outstanding problems; they will be fixed shortly.

Reviewed by:	allanjude@, emaste@, kib@, wblock@ (earlier versions)
Phabric:	D523
MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	The FreeBSD Foundation
2014-08-17 09:44:42 +00:00