Latest revision |
Your text |
Line 1: |
Line 1: |
| {{welcome}} | | {{welcome}} |
| | | |
− | ==Introduction==
| |
| | | |
− | The automounter configuration consists of the [https://www.freebsd.org/cgi/man.cgi?query=auto_master&sektion=5 auto_master] configuration file, which assigns filesystem paths to map names, and maps, which contain actual mount information. The auto_master configuration file is used by the [https://www.freebsd.org/cgi/man.cgi?query=automount&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports automount(8)] command. Map files are read by the [https://www.freebsd.org/cgi/man.cgi?query=automountd&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports automountd(8)] daemon. It is possible to add custom special maps by adding them, as executable maps named special_foo, to the '''/etc/autofs/''' directory.
| |
− |
| |
− | Those are the components underneath the autofs(5), but how does it fit together? Let's start with the actual map. In FreeBSD, special maps (the ones with names starting with "-") are just executables in /etc/autofs/:
| |
− |
| |
− |
| |
− | ===Content===
| |
| | | |
| + | ===Files=== |
| | | |
| {|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px" | | {|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px" |
Line 16: |
Line 10: |
| ! scope="col" style="width: 350px;"|'''Description''' | | ! scope="col" style="width: 350px;"|'''Description''' |
| |- | | |- |
− | |include_ldap | + | | |
− | |The https://www.freebsd.org/doc/handbook/network-ldap.html Lightweight Directory Access Protocol] (LDAP) is an application layer protocol used to access, modify, and authenticate objects using a distributed directory information service. See [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/include_ldap on GitHub] | + | | |
| |- | | |- |
− | |include_nis
| + | !colspan="2"|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=/etc/ Structure]]'''/etc/''' |
− | |[https://www.freebsd.org/doc/handbook/network-nis.html Network Information System (NIS)] is designed to centralize administration of UNIX®-like systems such as Solaris™, HP-UX, AIX®, Linux, NetBSD, OpenBSD, and FreeBSD. [https://www.freebsd.org/cgi/man.cgi?query=nis&apropos=0&sektion=8&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html man NIS] was originally known as Yellow Pages but the name was changed due to trademark issues. This is the reason why NIS commands begin with yp. See [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/include_nis on GitHub]
| + | |
− | |-
| + | |
− | |include_nis_nullfs
| + | |
− | |See [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/include_nis_nullfs on GitHub]
| + | |
− | |-
| + | |
− | |special_hosts
| + | |
− | |See [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/special_hosts on GitHub]
| + | |
− | |-
| + | |
− | |special_media
| + | |
− | |See: [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/special_media on GitHub]
| + | |
− | |-
| + | |
− | |special_noauto
| + | |
− | |See: [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/special_noauto on GitHub]
| + | |
− | |-
| + | |
− | |special_null
| + | |
− | |See: [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/special_null on GitHub]
| + | |
− | |-
| + | |
− | |special_simple-mtpfs
| + | |
− | |See: [http://freebsdfoundation.blogspot.com/2015/03/ The "-media" Map]
| + | |
− | |-
| + | |
− | !colspan="2"|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=/etc/]]'''/etc/''' | + | |
− | |}
| + | |
| | | |
− | ==Links==
| |
− |
| |
− | * [https://github.com/FreeBSDDesktop/freebsd-base/blob/master/usr.sbin/autofs/autofs/Makefile FreeBSDDesktop freebsd-base]
| |
− | * [http://freebsdfoundation.blogspot.com/2015/03/ The "-media" Map]
| |
| | | |
| | | |