| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Implement "automount -c".
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Add assertion to catch duplicated nodes.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Remove remnants of some cleanup; no functional changes.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Simplify; no functional changes.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Make autofs use shared vnode locks.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Fix autofs debug macros.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Make autofs(4) use shared lock for lookups, instead of exclusive one.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Call uma_zfree() outside of lock, and improve comment.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Add comment explaining one of the quirks in autofs.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Fix includes.
Suggested by: pluknet@
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Use __FBSDID() properly.
Suggested by: pluknet@
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Rework ".." lookup; previous one failed to properly busy the mountpoint.
Reviewed by: kib@
Sponsored by: The FreeBSD Foundation
|
|
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
|