| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Add -noauto autofs map, for automatic handling of fstab entries
marked "noauto".
Relnotes: yes
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Get executable direct maps to work.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Rework the concat() algorithm to be correct in all cases.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Make "automount -LL -o whatever" present options in the same order
as used by automountd(8).
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Make concat() accept NULL arguments.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Options from auto_master must be appended to options from maps,
not prepended.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Fix typo.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Properly pass options for direct maps.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Refactor.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Make things more readable; no functional changes.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
| |
Remove some particularly bad code; no functional changes.
MFC r279815:
Erm, revert chunk committed by mistake.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Fix memory leak.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
Improve separated_concat() to properly handle the case of concatenating
"/" and "/foo".
|
|
|
|
| |
Minor optimization/cleanup in node_path(); no functional changes.
|
|
|
|
|
|
|
| |
Improve documentation for autofs variables and executable maps;
also some markup fixes.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
When there are no automounted filesystems, autounmountd(8) should wait
for filesystem event, instead of looping on a timeout.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix spurious "child process X terminated with exit status 1" messages
from automountd(8).
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
|
|
|
|
|
|
| |
Fix markup.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Document use of wildcards (*) and ampersands (&) in autofs map files.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
The "intr" option is NFS-specific; fix examples in auto_master(5).
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Fix automountd(8) not to leave zombies.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Remove call to access(2) which didn't serve any purpose, and make it more
tolerant to errors.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
| |
Silence down a warning that doesn't provide any useful information unless
debug is enabled.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Fix handling of keys in executable maps. Previously it was broken for keys
containing whitespace.
PR: 192947
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
| |
Add "nobrowse" option. Previously automountd(8) always behaved as if
it was set, now it's conditional.
PR: 192862
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Don't fail on executable maps that return no entries. This turns useless
error message into useful one.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Use __FBSDID() properly.
Suggested by: pluknet@
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Remove useless - and buggy, it resulted in spurious warnings in logs - code.
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
|