summaryrefslogtreecommitdiffstats
path: root/usr.sbin/autofs
Commit message (Collapse)AuthorAgeFilesLines
* MFC r279955:trasz2015-05-211-1/+6
| | | | | | | | Add -noauto autofs map, for automatic handling of fstab entries marked "noauto". Relnotes: yes Sponsored by: The FreeBSD Foundation
* MFC r279954:trasz2015-05-211-10/+23
| | | | | | Get executable direct maps to work. Sponsored by: The FreeBSD Foundation
* MFC r279953:trasz2015-05-211-7/+16
| | | | | | Rework the concat() algorithm to be correct in all cases. Sponsored by: The FreeBSD Foundation
* MFC r279916:trasz2015-05-213-9/+16
| | | | | | | Make "automount -LL -o whatever" present options in the same order as used by automountd(8). Sponsored by: The FreeBSD Foundation
* MFC r279915:trasz2015-05-213-17/+8
| | | | | | Make concat() accept NULL arguments. Sponsored by: The FreeBSD Foundation
* MFC r279914:trasz2015-05-211-1/+5
| | | | | | | Options from auto_master must be appended to options from maps, not prepended. Sponsored by: The FreeBSD Foundation
* MFC r279851:trasz2015-05-211-2/+2
| | | | | | Fix typo. Sponsored by: The FreeBSD Foundation
* MFC r279846:trasz2015-05-212-27/+18
| | | | | | Properly pass options for direct maps. Sponsored by: The FreeBSD Foundation
* MFC r279845:trasz2015-05-211-17/+25
| | | | | | | 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
* MFC r279843:trasz2015-05-211-9/+14
| | | | | | Refactor. Sponsored by: The FreeBSD Foundation
* MFC r279813:trasz2015-05-215-22/+16
| | | | | | Make things more readable; no functional changes. Sponsored by: The FreeBSD Foundation
* MFC r279812:trasz2015-05-211-43/+6
| | | | | | | | | | Remove some particularly bad code; no functional changes. MFC r279815: Erm, revert chunk committed by mistake. Sponsored by: The FreeBSD Foundation
* MFC r279808:trasz2015-05-211-2/+4
| | | | | | Fix memory leak. Sponsored by: The FreeBSD Foundation
* MFC r279807:trasz2015-05-211-2/+8
| | | | | Improve separated_concat() to properly handle the case of concatenating "/" and "/foo".
* MFC r279806:trasz2015-05-211-10/+12
| | | | Minor optimization/cleanup in node_path(); no functional changes.
* MFC r276883:trasz2015-05-211-3/+58
| | | | | | | Improve documentation for autofs variables and executable maps; also some markup fixes. Sponsored by: The FreeBSD Foundation
* MFC r275681:trasz2015-05-211-6/+9
| | | | | | | | | | | | | | 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
* MFC r277834:trasz2015-03-071-13/+23
| | | | | | | When there are no automounted filesystems, autounmountd(8) should wait for filesystem event, instead of looping on a timeout. Sponsored by: The FreeBSD Foundation
* MFC r275756:trasz2015-03-071-3/+14
| | | | | | | | 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
* MFC r275755:trasz2015-03-071-7/+1
| | | | | | | Fix spurious "child process X terminated with exit status 1" messages from automountd(8). Sponsored by: The FreeBSD Foundation
* MFC r274859:trasz2015-03-072-4/+67
| | | | | | Implement "automount -c". Sponsored by: The FreeBSD Foundation
* MFC r273127:trasz2015-03-073-10/+54
| | | | | | | | | | | | | | | | | 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
* MFC r275746:trasz2015-01-261-3/+3
| | | | | | Fix markup. Sponsored by: The FreeBSD Foundation
* MFC r274796:trasz2014-12-211-3/+20
| | | | | | Document use of wildcards (*) and ampersands (&) in autofs map files. Sponsored by: The FreeBSD Foundation
* MFC r274723:trasz2014-12-211-5/+23
| | | | | | | 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
* MFC r274621:trasz2014-12-211-3/+3
| | | | | | The "intr" option is NFS-specific; fix examples in auto_master(5). Sponsored by: The FreeBSD Foundation
* MFC r273160:trasz2014-11-151-0/+29
| | | | | | Fix automountd(8) not to leave zombies. Sponsored by: The FreeBSD Foundation
* MFC r272717:trasz2014-11-141-10/+5
| | | | | | | Remove call to access(2) which didn't serve any purpose, and make it more tolerant to errors. Sponsored by: The FreeBSD Foundation
* MFC r273107:trasz2014-11-141-1/+1
| | | | | | | 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 r273123:trasz2014-11-141-1/+1
| | | | | | | Silence down a warning that doesn't provide any useful information unless debug is enabled. Sponsored by: The FreeBSD Foundation
* MFC r272037:trasz2014-09-251-1/+11
| | | | | | | | | | | | | 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
* MFC r271167:trasz2014-09-171-0/+1
| | | | | | | | | | | | 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
* MFC r270454:trasz2014-08-311-11/+26
| | | | | | | | Fix handling of keys in executable maps. Previously it was broken for keys containing whitespace. PR: 192947 Sponsored by: The FreeBSD Foundation
* MFC r270406:trasz2014-08-313-10/+70
| | | | | | | | Add "nobrowse" option. Previously automountd(8) always behaved as if it was set, now it's conditional. PR: 192862 Sponsored by: The FreeBSD Foundation
* MFC r270405:trasz2014-08-311-1/+7
| | | | | | | Don't fail on executable maps that return no entries. This turns useless error message into useful one. Sponsored by: The FreeBSD Foundation
* MFC r270276:trasz2014-08-317-7/+21
| | | | | | | Use __FBSDID() properly. Suggested by: pluknet@ Sponsored by: The FreeBSD Foundation
* MFC r270210:trasz2014-08-311-12/+0
| | | | | | Remove useless - and buggy, it resulted in spurious warnings in logs - code. Sponsored by: The FreeBSD Foundation
* MFC r270096:trasz2014-08-3114-0/+3752
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
OpenPOWER on IntegriCloud