summaryrefslogtreecommitdiffstats
path: root/usr.sbin/autofs
Commit message (Collapse)AuthorAgeFilesLines
* META MODE: Update dependencies with 'the-lot' and add missing directories.bdrewery2015-12-011-0/+21
| | | | | | | | | | | | | | 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
* Add -noauto autofs map, for automatic handling of fstab entriestrasz2015-03-131-1/+6
| | | | | | | marked "noauto". MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Get executable direct maps to work.trasz2015-03-131-10/+23
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Rework the concat() algorithm to be correct in all cases.trasz2015-03-131-7/+16
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make "automount -LL -o whatever" present options in the same ordertrasz2015-03-123-9/+16
| | | | | | | as used by automountd(8). MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make concat() accept NULL arguments.trasz2015-03-123-17/+8
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Options from auto_master must be appended to options from maps,trasz2015-03-121-1/+5
| | | | | | | not prepended. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix typo.trasz2015-03-101-2/+2
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Properly pass options for direct maps.trasz2015-03-102-27/+18
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix handling of direct maps, broken in r275756. Previously, runningtrasz2015-03-101-17/+25
| | | | | | | automount(8) would unmount direct map trigger nodes every second time. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Refactor.trasz2015-03-101-9/+14
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Erm, revert chunk committed by mistake.trasz2015-03-091-5/+0
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make things more readable; no functional changes.trasz2015-03-095-22/+16
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Remove some particularly bad code; no functional changes.trasz2015-03-092-43/+11
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix memory leak.trasz2015-03-091-2/+4
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Improve separated_concat() to properly handle the case of concatenatingtrasz2015-03-091-2/+8
| | | | | | | "/" and "/foo". MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Minor optimization/cleanup in node_path(); no functional changes.trasz2015-03-091-10/+12
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* When there are no automounted filesystems, autounmountd(8) should waittrasz2015-01-281-13/+23
| | | | | | | for filesystem event, instead of looping on a timeout. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Improve documentation for autofs variables and executable maps;trasz2015-01-091-3/+58
| | | | | | | | also some markup fixes. Differential Revision: https://reviews.freebsd.org/D1447 MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix bug that made automount(8) never unmount stale autofs(5) mounts,trasz2014-12-141-3/+14
| | | | | | | | ie mounts for entries that were there in auto_master(5), and then got removed. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix spurious "child process X terminated with exit status 1" messagestrasz2014-12-141-7/+1
| | | | | | | from automountd(8). MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix markup.trasz2014-12-131-3/+3
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Add "-media" autofs map, to access data on removable media, such as CDtrasz2014-12-101-6/+9
| | | | | | | | | | | | | | 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
* Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| | | | Reduce overlinking
* Implement "automount -c".trasz2014-11-222-4/+67
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Document use of wildcards (*) and ampersands (&) in autofs map files.trasz2014-11-211-3/+20
| | | | | | | Differential Revision: https://reviews.freebsd.org/D1199 Reviewed by: wblock@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make the auto_master(5) man page clearer on how auto_mastertrasz2014-11-191-5/+23
| | | | | | | | | 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
* The "intr" option is NFS-specific; fix examples in auto_master(5).trasz2014-11-171-3/+3
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix automountd(8) not to leave zombies.trasz2014-10-161-0/+29
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make automountd(8) inform autofs(4) whether directory being handled cantrasz2014-10-153-10/+54
| | | | | | | | | | | | 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
* Silence down a warning that doesn't provide any useful information unlesstrasz2014-10-151-1/+1
| | | | | | | debug is enabled. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make automount(8)/automountd(8) treat percent sign as a valid parttrasz2014-10-141-1/+1
| | | | | | | of path. It's useful for spaces encoded as %20 as msdosfs labels. Submitted by: glebius@ MFC after: 1 month
* Remove call to access(2) which didn't serve any purpose, and make it moretrasz2014-10-071-10/+5
| | | | | | | tolerant to errors. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix thinko that, with two map entries like shown below, in that order,trasz2014-09-231-1/+11
| | | | | | | | | | | | 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
* Make it possible to quote names in autofs maps using double quotes.trasz2014-09-051-0/+1
| | | | | | | | | | 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
* Fix handling of keys in executable maps. Previously it was broken for keystrasz2014-08-241-11/+26
| | | | | | | | containing whitespace. PR: 192947 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Add "nobrowse" option. Previously automountd(8) always behaved as iftrasz2014-08-233-10/+70
| | | | | | | | it was set, now it's conditional. PR: 192862 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Don't fail on executable maps that return no entries. This turns uselesstrasz2014-08-231-1/+7
| | | | | | | error message into useful one. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Use __FBSDID() properly.trasz2014-08-217-7/+21
| | | | | | Suggested by: pluknet@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Remove useless - and buggy, it resulted in spurious warnings in logs - code.trasz2014-08-201-12/+0
| | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Bring in the new automounter, similar to what's provided in most othertrasz2014-08-1714-0/+3752
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
OpenPOWER on IntegriCloud