summaryrefslogtreecommitdiffstats
path: root/sys/fs/autofs
Commit message (Collapse)AuthorAgeFilesLines
* MFC r271927:trasz2015-03-071-11/+1
| | | | | | | Turns out -1 is a perfectly valid error number, ERESTART. Remove useless code written under assumption that it wasn't. Sponsored by: The FreeBSD Foundation
* MFC r274859:trasz2015-03-073-1/+16
| | | | | | Implement "automount -c". Sponsored by: The FreeBSD Foundation
* MFC r273127:trasz2015-03-073-6/+73
| | | | | | | | | | | | | | | | | 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
* MFC r272931:trasz2014-11-071-1/+5
| | | | | | Add assertion to catch duplicated nodes. Sponsored by: The FreeBSD Foundation
* MFC r272836:trasz2014-11-071-2/+2
| | | | | | Remove remnants of some cleanup; no functional changes. Sponsored by: The FreeBSD Foundation
* MFC r272743:trasz2014-11-071-1/+1
| | | | | | Simplify; no functional changes. Sponsored by: The FreeBSD Foundation
* MFC r272512:trasz2014-11-073-9/+16
| | | | | | Make autofs use shared vnode locks. Sponsored by: The FreeBSD Foundation
* MFC r272471:trasz2014-11-071-7/+10
| | | | | | Fix autofs debug macros. Sponsored by: The FreeBSD Foundation
* MFC r272470:trasz2014-11-074-22/+25
| | | | | | Make autofs(4) use shared lock for lookups, instead of exclusive one. Sponsored by: The FreeBSD Foundation
* MFC r272405:trasz2014-11-071-2/+2
| | | | | | Call uma_zfree() outside of lock, and improve comment. Sponsored by: The FreeBSD Foundation
* MFC r272403:trasz2014-11-074-6/+15
| | | | | | | Make autofs timeout handling use timeout task instead of callout; that's because the handler can sleep on sx lock. Sponsored by: The FreeBSD Foundation
* MFC r272025:trasz2014-09-251-0/+2
| | | | | | | | | | | | Fix thinko that, with two map entries like shown below, in that order, made autofs mix them up: the second one wasn't visible in ls(1) output, and trying to access it would trigger mount for the first one. foobar host:/foobar foo host:/foo Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
* MFC r270507:trasz2014-08-311-3/+0
| | | | | | | | Fix bug that, assuming a/ is a root of NFS filesystem mounted on autofs, prevented "mv a/from a/to" from working, while "cd a && mv from to" was ok. PR: 192948 Sponsored by: The FreeBSD Foundation
* MFC r270402:trasz2014-08-314-73/+77
| | | | | | | | Autofs softc needs to be global anyway, so don't pass it as a local variable, and don't store in autofs_mount. Also rename it from 'sc' to 'autofs_softc', since it's global and extern. Sponsored by: The FreeBSD Foundation
* MFC r270399:trasz2014-08-311-0/+8
| | | | | | Add comment explaining one of the quirks in autofs. Sponsored by: The FreeBSD Foundation
* MFC r270281:trasz2014-08-313-4/+4
| | | | | | | Fix includes. Suggested by: pluknet@ Sponsored by: The FreeBSD Foundation
* MFC r270276:trasz2014-08-314-6/+6
| | | | | | | Use __FBSDID() properly. Suggested by: pluknet@ Sponsored by: The FreeBSD Foundation
* MFC r270207:trasz2014-08-311-14/+18
| | | | | | | Rework ".." lookup; previous one failed to properly busy the mountpoint. Reviewed by: kib@ Sponsored by: The FreeBSD Foundation
* MFC r270096:trasz2014-08-315-0/+1722
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
OpenPOWER on IntegriCloud