369206 |
02-Feb-2021 |
emaste |
Fix mdoc typo in auto_master.5
There needs to be a space after the no-space macro in order for it to be interpreted.
PR: 221986 Submitted by: Paul Townsend <pt@zendware.com>
(cherry picked from commit fe8b4983b4f200c479846839b2632024136c0ff4)
Git Hash: 090deb5c64cf9729b9326f0a01349151f3df25c9 Git Author: bjk@FreeBSD.org |
332597 |
16-Apr-2018 |
trasz |
MFC r328338:
Add SPDX tags for automount(8) et al. |
319119 |
29-May-2017 |
ngie |
MFC r314659,r314676:
r314659:
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
r314676:
Fix build after r314656
Some of the changes I introduced to use .ALLSRC were correct in spirit, but incorrect in reality -- in particular, ../Makefile.inc hadn't been pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk explicitly so we can be certain that the values used as dependencies in the targets are defined when the target recipe has been evaluated.
Reminder: thou shalt separate out separate functional changes before committing them.
(YUGE) Pointyhat to: ngie In collaboration with: bdrewery |
309508 |
03-Dec-2016 |
trasz |
MFC r308206:
Make autounmountd(8) not die when traced with "truss -p". |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
302388 |
07-Jul-2016 |
trasz |
Add new unmount(2) flag, MNT_NONBUSY, to check whether there are any open vnodes before proceeding. Make autounmound(8) use this flag. Without it, even an unsuccessfull unmount causes filesystem flush, which interferes with normal operation.
Reviewed by: kib@ Approved by: re (gjb@) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D7047
|
298107 |
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
296897 |
15-Mar-2016 |
trasz |
Use the log_errno value passed to the function instead of the errno global variable.
Suggested by: Daniel Braniss MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
296197 |
29-Feb-2016 |
trasz |
Autofs is section 5, not 4.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
295989 |
24-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Regenerate without local dependencies.
These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'.
Sponsored by: EMC / Isilon Storage Division
|
294670 |
24-Jan-2016 |
trasz |
The <libutil.h> is an ordinary header file; should sort just like any other.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
291563 |
01-Dec-2015 |
bdrewery |
META MODE: Update dependencies with 'the-lot' and add missing directories.
This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable.
Currently rescue/rescue and sys/modules are still not connected.
Sponsored by: EMC / Isilon Storage Division
|
279955 |
13-Mar-2015 |
trasz |
Add -noauto autofs map, for automatic handling of fstab entries marked "noauto".
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279954 |
13-Mar-2015 |
trasz |
Get executable direct maps to work.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279953 |
13-Mar-2015 |
trasz |
Rework the concat() algorithm to be correct in all cases.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279916 |
12-Mar-2015 |
trasz |
Make "automount -LL -o whatever" present options in the same order as used by automountd(8).
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279915 |
12-Mar-2015 |
trasz |
Make concat() accept NULL arguments.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279914 |
12-Mar-2015 |
trasz |
Options from auto_master must be appended to options from maps, not prepended.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279851 |
10-Mar-2015 |
trasz |
Fix typo.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279846 |
10-Mar-2015 |
trasz |
Properly pass options for direct maps.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279845 |
10-Mar-2015 |
trasz |
Fix handling of direct maps, broken in r275756. Previously, running automount(8) would unmount direct map trigger nodes every second time.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279843 |
10-Mar-2015 |
trasz |
Refactor.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279815 |
09-Mar-2015 |
trasz |
Erm, revert chunk committed by mistake.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279813 |
09-Mar-2015 |
trasz |
Make things more readable; no functional changes.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279812 |
09-Mar-2015 |
trasz |
Remove some particularly bad code; no functional changes.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279808 |
09-Mar-2015 |
trasz |
Fix memory leak.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279807 |
09-Mar-2015 |
trasz |
Improve separated_concat() to properly handle the case of concatenating "/" and "/foo".
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
279806 |
09-Mar-2015 |
trasz |
Minor optimization/cleanup in node_path(); no functional changes.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
277834 |
28-Jan-2015 |
trasz |
When there are no automounted filesystems, autounmountd(8) should wait for filesystem event, instead of looping on a timeout.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
276883 |
09-Jan-2015 |
trasz |
Improve documentation for autofs variables and executable maps; also some markup fixes.
Differential Revision: https://reviews.freebsd.org/D1447 MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
275756 |
14-Dec-2014 |
trasz |
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.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
275755 |
14-Dec-2014 |
trasz |
Fix spurious "child process X terminated with exit status 1" messages from automountd(8).
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
275746 |
13-Dec-2014 |
trasz |
Fix markup.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
275681 |
10-Dec-2014 |
trasz |
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
|
275054 |
25-Nov-2014 |
bapt |
Convert usr.sbin to LIBADD Reduce overlinking
|
274859 |
22-Nov-2014 |
trasz |
Implement "automount -c".
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
274796 |
21-Nov-2014 |
trasz |
Document use of wildcards (*) and ampersands (&) in autofs map files.
Differential Revision: https://reviews.freebsd.org/D1199 Reviewed by: wblock@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
274723 |
19-Nov-2014 |
trasz |
Make the auto_master(5) man page clearer on how auto_master and map files work together, and add example for smbfs.
Differential Revision: https://reviews.freebsd.org/D1184 Reviewed by: wblock@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
274621 |
17-Nov-2014 |
trasz |
The "intr" option is NFS-specific; fix examples in auto_master(5).
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
273160 |
16-Oct-2014 |
trasz |
Fix automountd(8) not to leave zombies.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
273127 |
15-Oct-2014 |
trasz |
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).
Tested by: dhw@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
273123 |
15-Oct-2014 |
trasz |
Silence down a warning that doesn't provide any useful information unless debug is enabled.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
273107 |
14-Oct-2014 |
trasz |
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@ MFC after: 1 month
|
272717 |
07-Oct-2014 |
trasz |
Remove call to access(2) which didn't serve any purpose, and make it more tolerant to errors.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
272037 |
23-Sep-2014 |
trasz |
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 MFC after: 3 days Sponsored by: The FreeBSD Foundation
|
271167 |
05-Sep-2014 |
trasz |
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 MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
270454 |
24-Aug-2014 |
trasz |
Fix handling of keys in executable maps. Previously it was broken for keys containing whitespace.
PR: 192947 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
270406 |
23-Aug-2014 |
trasz |
Add "nobrowse" option. Previously automountd(8) always behaved as if it was set, now it's conditional.
PR: 192862 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
270405 |
23-Aug-2014 |
trasz |
Don't fail on executable maps that return no entries. This turns useless error message into useful one.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
270276 |
21-Aug-2014 |
trasz |
Use __FBSDID() properly.
Suggested by: pluknet@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
270210 |
20-Aug-2014 |
trasz |
Remove useless - and buggy, it resulted in spurious warnings in logs - code.
MFC after: 2 weeks 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
|