History log of /freebsd-10-stable/usr.sbin/autofs/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
309509 03-Dec-2016 trasz

MFC r308206:

Make autounmountd(8) not die when traced with "truss -p".

283242 21-May-2015 trasz

MFC r279955:

Add -noauto autofs map, for automatic handling of fstab entries
marked "noauto".

Relnotes: yes
Sponsored by: The FreeBSD Foundation

283241 21-May-2015 trasz

MFC r279954:

Get executable direct maps to work.

Sponsored by: The FreeBSD Foundation

283240 21-May-2015 trasz

MFC r279953:

Rework the concat() algorithm to be correct in all cases.

Sponsored by: The FreeBSD Foundation

283239 21-May-2015 trasz

MFC r279916:

Make "automount -LL -o whatever" present options in the same order
as used by automountd(8).

Sponsored by: The FreeBSD Foundation

283238 21-May-2015 trasz

MFC r279915:

Make concat() accept NULL arguments.

Sponsored by: The FreeBSD Foundation

283237 21-May-2015 trasz

MFC r279914:

Options from auto_master must be appended to options from maps,
not prepended.

Sponsored by: The FreeBSD Foundation

283236 21-May-2015 trasz

MFC r279851:

Fix typo.

Sponsored by: The FreeBSD Foundation

283235 21-May-2015 trasz

MFC r279846:

Properly pass options for direct maps.

Sponsored by: The FreeBSD Foundation

283233 21-May-2015 trasz

MFC r279845:

Fix handling of direct maps, broken in r275756. Previously, running
automount(8) would unmount direct map trigger nodes every second time.

Sponsored by: The FreeBSD Foundation

283232 21-May-2015 trasz

MFC r279843:

Refactor.

Sponsored by: The FreeBSD Foundation

283231 21-May-2015 trasz

MFC r279813:

Make things more readable; no functional changes.

Sponsored by: The FreeBSD Foundation

283230 21-May-2015 trasz

MFC r279812:

Remove some particularly bad code; no functional changes.

MFC r279815:

Erm, revert chunk committed by mistake.

Sponsored by: The FreeBSD Foundation

283229 21-May-2015 trasz

MFC r279808:

Fix memory leak.

Sponsored by: The FreeBSD Foundation

283228 21-May-2015 trasz

MFC r279807:

Improve separated_concat() to properly handle the case of concatenating
"/" and "/foo".

283227 21-May-2015 trasz

MFC r279806:

Minor optimization/cleanup in node_path(); no functional changes.

283225 21-May-2015 trasz

MFC r276883:

Improve documentation for autofs variables and executable maps;
also some markup fixes.

Sponsored by: The FreeBSD Foundation

283223 21-May-2015 trasz

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

279745 07-Mar-2015 trasz

MFC r277834:

When there are no automounted filesystems, autounmountd(8) should wait
for filesystem event, instead of looping on a timeout.

Sponsored by: The FreeBSD Foundation

279744 07-Mar-2015 trasz

MFC r275756:

Fix bug that made automount(8) never unmount stale autofs(5) mounts,
ie mounts for entries that were there in auto_master(5), and then
got removed.

Sponsored by: The FreeBSD Foundation

279743 07-Mar-2015 trasz

MFC r275755:

Fix spurious "child process X terminated with exit status 1" messages
from automountd(8).

Sponsored by: The FreeBSD Foundation

279742 07-Mar-2015 trasz

MFC r274859:

Implement "automount -c".

Sponsored by: The FreeBSD Foundation

279741 07-Mar-2015 trasz

MFC r273127:

Make automountd(8) inform autofs(4) whether directory being handled can
have wildcards. This makes it possible for autofs(4) to avoid requesting
automountd(8) action on access to nonexistent nodes - unless wildcards
are actually used.

Note that this change breaks ABI for automountd(8).

MFC r278521:

Restore ABI compatibility, broken in r273127. Note that while this fixes
ABI with 10.1, it breaks ABI for 11-CURRENT, so rebuild of automountd(8)
is neccessary.

Sponsored by: The FreeBSD Foundation

277748 26-Jan-2015 trasz

MFC r275746:

Fix markup.

Sponsored by: The FreeBSD Foundation

275997 21-Dec-2014 trasz

MFC r274796:

Document use of wildcards (*) and ampersands (&) in autofs map files.

Sponsored by: The FreeBSD Foundation

275995 21-Dec-2014 trasz

MFC r274723:

Make the auto_master(5) man page clearer on how auto_master
and map files work together, and add example for smbfs.

Sponsored by: The FreeBSD Foundation

275994 21-Dec-2014 trasz

MFC r274621:

The "intr" option is NFS-specific; fix examples in auto_master(5).

Sponsored by: The FreeBSD Foundation

274548 15-Nov-2014 trasz

MFC r273160:

Fix automountd(8) not to leave zombies.

Sponsored by: The FreeBSD Foundation

274500 14-Nov-2014 trasz

MFC r272717:

Remove call to access(2) which didn't serve any purpose, and make it more
tolerant to errors.

Sponsored by: The FreeBSD Foundation

274499 14-Nov-2014 trasz

MFC r273107:

Make automount(8)/automountd(8) treat percent sign as a valid part
of path. It's useful for spaces encoded as %20 as msdosfs labels.

Submitted by: glebius@

274498 14-Nov-2014 trasz

MFC r273123:

Silence down a warning that doesn't provide any useful information unless
debug is enabled.

Sponsored by: The FreeBSD Foundation

272117 25-Sep-2014 trasz

MFC r272037:

Fix thinko that, with two map entries like shown below, in that order,
made automountd(8) mix them up: trying to access the second one would
trigger mount for the first one.

foo host:/foo
foobar host:/foobar

PR: 193584
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation

271704 17-Sep-2014 trasz

MFC r271167:

Make it possible to quote names in autofs maps using double quotes.

Note that this is a workaround, not a proper solution. If you know
lex well, and want to help - please let me know, I'll explain how it
should work.

PR: 192968
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

270903 31-Aug-2014 trasz

MFC r270454:

Fix handling of keys in executable maps. Previously it was broken for keys
containing whitespace.

PR: 192947
Sponsored by: The FreeBSD Foundation

270902 31-Aug-2014 trasz

MFC r270406:

Add "nobrowse" option. Previously automountd(8) always behaved as if
it was set, now it's conditional.

PR: 192862
Sponsored by: The FreeBSD Foundation

270901 31-Aug-2014 trasz

MFC r270405:

Don't fail on executable maps that return no entries. This turns useless
error message into useful one.

Sponsored by: The FreeBSD Foundation

270897 31-Aug-2014 trasz

MFC r270276:

Use __FBSDID() properly.

Suggested by: pluknet@
Sponsored by: The FreeBSD Foundation

270896 31-Aug-2014 trasz

MFC r270210:

Remove useless - and buggy, it resulted in spurious warnings in logs - code.

Sponsored by: The FreeBSD Foundation

270892 31-Aug-2014 trasz

MFC r270096:

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
Relnotes: yes
Sponsored by: The FreeBSD Foundation

270096 17-Aug-2014 trasz

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