History log of /freebsd-11-stable/usr.sbin/autofs/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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


/freebsd-11-stable/usr.sbin/acpi/Makefile.inc
/freebsd-11-stable/usr.sbin/amd/Makefile.inc
/freebsd-11-stable/usr.sbin/amd/amd/Makefile
/freebsd-11-stable/usr.sbin/amd/libamu/Makefile
/freebsd-11-stable/usr.sbin/ancontrol/Makefile
/freebsd-11-stable/usr.sbin/audit/Makefile
/freebsd-11-stable/usr.sbin/auditd/Makefile
/freebsd-11-stable/usr.sbin/auditdistd/Makefile
/freebsd-11-stable/usr.sbin/auditreduce/Makefile
/freebsd-11-stable/usr.sbin/authpf/Makefile
Makefile
/freebsd-11-stable/usr.sbin/bhyvectl/Makefile
/freebsd-11-stable/usr.sbin/bhyveload/Makefile
/freebsd-11-stable/usr.sbin/bluetooth/Makefile.inc
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/Makefile
/freebsd-11-stable/usr.sbin/bluetooth/rfcomm_pppd/Makefile
/freebsd-11-stable/usr.sbin/bsnmpd/bsnmpd/Makefile
/freebsd-11-stable/usr.sbin/bsnmpd/gensnmptree/Makefile
/freebsd-11-stable/usr.sbin/bsnmpd/tools/Makefile.inc
/freebsd-11-stable/usr.sbin/camdd/Makefile
/freebsd-11-stable/usr.sbin/ckdist/Makefile
/freebsd-11-stable/usr.sbin/cron/crontab/Makefile
/freebsd-11-stable/usr.sbin/cron/lib/Makefile
/freebsd-11-stable/usr.sbin/ctladm/Makefile
/freebsd-11-stable/usr.sbin/ctld/Makefile
/freebsd-11-stable/usr.sbin/ctm/Makefile.inc
/freebsd-11-stable/usr.sbin/ctm/ctm/Makefile
/freebsd-11-stable/usr.sbin/ctm/ctm_dequeue/Makefile
/freebsd-11-stable/usr.sbin/ctm/ctm_smail/Makefile
/freebsd-11-stable/usr.sbin/dconschat/Makefile
/freebsd-11-stable/usr.sbin/editmap/Makefile
/freebsd-11-stable/usr.sbin/eeprom/Makefile
/freebsd-11-stable/usr.sbin/fdcontrol/Makefile
/freebsd-11-stable/usr.sbin/fdformat/Makefile
/freebsd-11-stable/usr.sbin/fmtree/Makefile
/freebsd-11-stable/usr.sbin/fstyp/Makefile
/freebsd-11-stable/usr.sbin/ftp-proxy/Makefile
/freebsd-11-stable/usr.sbin/fwcontrol/Makefile
/freebsd-11-stable/usr.sbin/gpioctl/Makefile
/freebsd-11-stable/usr.sbin/gssd/Makefile
/freebsd-11-stable/usr.sbin/hyperv/tools/kvp/Makefile
/freebsd-11-stable/usr.sbin/hyperv/tools/vss/Makefile
/freebsd-11-stable/usr.sbin/iovctl/Makefile
/freebsd-11-stable/usr.sbin/iscsid/Makefile
/freebsd-11-stable/usr.sbin/mailstats/Makefile
/freebsd-11-stable/usr.sbin/mailwrapper/Makefile
/freebsd-11-stable/usr.sbin/makemap/Makefile
/freebsd-11-stable/usr.sbin/mlxcontrol/Makefile
/freebsd-11-stable/usr.sbin/mount_smbfs/Makefile
/freebsd-11-stable/usr.sbin/mountd/Makefile
/freebsd-11-stable/usr.sbin/mpsutil/Makefile
/freebsd-11-stable/usr.sbin/ndiscvt/Makefile
/freebsd-11-stable/usr.sbin/ndp/Makefile
/freebsd-11-stable/usr.sbin/nmtree/Makefile
/freebsd-11-stable/usr.sbin/pkg/Makefile
/freebsd-11-stable/usr.sbin/pnpinfo/Makefile
/freebsd-11-stable/usr.sbin/praliases/Makefile
/freebsd-11-stable/usr.sbin/praudit/Makefile
/freebsd-11-stable/usr.sbin/pwd_mkdb/Makefile
/freebsd-11-stable/usr.sbin/rip6query/Makefile
/freebsd-11-stable/usr.sbin/rpcbind/tests/Makefile
/freebsd-11-stable/usr.sbin/rtadvctl/Makefile
/freebsd-11-stable/usr.sbin/sa/Makefile
/freebsd-11-stable/usr.sbin/sendmail/Makefile
/freebsd-11-stable/usr.sbin/tcpdump/tcpdump/Makefile
/freebsd-11-stable/usr.sbin/timed/timedc/Makefile
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


/freebsd-11-stable/MAINTAINERS
/freebsd-11-stable/cddl
/freebsd-11-stable/cddl/contrib/opensolaris
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-11-stable/contrib/amd
/freebsd-11-stable/contrib/apr
/freebsd-11-stable/contrib/apr-util
/freebsd-11-stable/contrib/atf
/freebsd-11-stable/contrib/binutils
/freebsd-11-stable/contrib/bmake
/freebsd-11-stable/contrib/byacc
/freebsd-11-stable/contrib/bzip2
/freebsd-11-stable/contrib/com_err
/freebsd-11-stable/contrib/compiler-rt
/freebsd-11-stable/contrib/dialog
/freebsd-11-stable/contrib/dma
/freebsd-11-stable/contrib/dtc
/freebsd-11-stable/contrib/ee
/freebsd-11-stable/contrib/elftoolchain
/freebsd-11-stable/contrib/elftoolchain/ar
/freebsd-11-stable/contrib/elftoolchain/brandelf
/freebsd-11-stable/contrib/elftoolchain/elfdump
/freebsd-11-stable/contrib/expat
/freebsd-11-stable/contrib/file
/freebsd-11-stable/contrib/gcc
/freebsd-11-stable/contrib/gcclibs/libgomp
/freebsd-11-stable/contrib/gdb
/freebsd-11-stable/contrib/gdtoa
/freebsd-11-stable/contrib/groff
/freebsd-11-stable/contrib/ipfilter
/freebsd-11-stable/contrib/ldns
/freebsd-11-stable/contrib/ldns-host
/freebsd-11-stable/contrib/less
/freebsd-11-stable/contrib/libarchive
/freebsd-11-stable/contrib/libarchive/cpio
/freebsd-11-stable/contrib/libarchive/libarchive
/freebsd-11-stable/contrib/libarchive/libarchive_fe
/freebsd-11-stable/contrib/libarchive/tar
/freebsd-11-stable/contrib/libc++
/freebsd-11-stable/contrib/libc-vis
/freebsd-11-stable/contrib/libcxxrt
/freebsd-11-stable/contrib/libexecinfo
/freebsd-11-stable/contrib/libpcap
/freebsd-11-stable/contrib/libstdc++
/freebsd-11-stable/contrib/libucl
/freebsd-11-stable/contrib/libxo
/freebsd-11-stable/contrib/llvm
/freebsd-11-stable/contrib/llvm/projects/libunwind
/freebsd-11-stable/contrib/llvm/tools/clang
/freebsd-11-stable/contrib/llvm/tools/lldb
/freebsd-11-stable/contrib/llvm/tools/llvm-dwarfdump
/freebsd-11-stable/contrib/llvm/tools/llvm-lto
/freebsd-11-stable/contrib/mdocml
/freebsd-11-stable/contrib/mtree
/freebsd-11-stable/contrib/ncurses
/freebsd-11-stable/contrib/netcat
/freebsd-11-stable/contrib/ntp
/freebsd-11-stable/contrib/nvi
/freebsd-11-stable/contrib/one-true-awk
/freebsd-11-stable/contrib/openbsm
/freebsd-11-stable/contrib/openpam
/freebsd-11-stable/contrib/openresolv
/freebsd-11-stable/contrib/pf
/freebsd-11-stable/contrib/sendmail
/freebsd-11-stable/contrib/serf
/freebsd-11-stable/contrib/sqlite3
/freebsd-11-stable/contrib/subversion
/freebsd-11-stable/contrib/tcpdump
/freebsd-11-stable/contrib/tcsh
/freebsd-11-stable/contrib/tnftp
/freebsd-11-stable/contrib/top
/freebsd-11-stable/contrib/top/install-sh
/freebsd-11-stable/contrib/tzcode/stdtime
/freebsd-11-stable/contrib/tzcode/zic
/freebsd-11-stable/contrib/tzdata
/freebsd-11-stable/contrib/unbound
/freebsd-11-stable/contrib/vis
/freebsd-11-stable/contrib/wpa
/freebsd-11-stable/contrib/xz
/freebsd-11-stable/crypto/heimdal
/freebsd-11-stable/crypto/openssh
/freebsd-11-stable/crypto/openssl
/freebsd-11-stable/gnu/lib
/freebsd-11-stable/gnu/usr.bin/binutils
/freebsd-11-stable/gnu/usr.bin/cc/cc_tools
/freebsd-11-stable/gnu/usr.bin/gdb
/freebsd-11-stable/lib/libc/locale/ascii.c
/freebsd-11-stable/sys/cddl/contrib/opensolaris
/freebsd-11-stable/sys/contrib/dev/acpica
/freebsd-11-stable/sys/contrib/ipfilter
/freebsd-11-stable/sys/contrib/libfdt
/freebsd-11-stable/sys/contrib/octeon-sdk
/freebsd-11-stable/sys/contrib/x86emu
/freebsd-11-stable/sys/contrib/xz-embedded
/freebsd-11-stable/usr.sbin/bhyve/atkbdc.h
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.c
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.h
/freebsd-11-stable/usr.sbin/bhyve/console.c
/freebsd-11-stable/usr.sbin/bhyve/console.h
/freebsd-11-stable/usr.sbin/bhyve/pci_fbuf.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.h
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.c
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.h
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.c
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.h
/freebsd-11-stable/usr.sbin/bhyve/rfb.c
/freebsd-11-stable/usr.sbin/bhyve/rfb.h
/freebsd-11-stable/usr.sbin/bhyve/sockstream.c
/freebsd-11-stable/usr.sbin/bhyve/sockstream.h
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.c
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.h
/freebsd-11-stable/usr.sbin/bhyve/usb_mouse.c
/freebsd-11-stable/usr.sbin/bhyve/vga.c
/freebsd-11-stable/usr.sbin/bhyve/vga.h
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