Difference between revisions of "/etc/autofs/"
From GhostBSD Wiki
(→Introduction) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
==Introduction== | ==Introduction== | ||
− | The [https://www.freebsd.org/cgi/man.cgi?query=auto_master&sektion=5 | + | 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=== | ===Content=== | ||
+ | |||
{|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 14: | Line 17: | ||
|- | |- | ||
|include_ldap | |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 | |include_nis | ||
− | | | + | |[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 | |include_nis_nullfs | ||
− | | | + | |See [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/include_nis_nullfs on GitHub] |
|- | |- | ||
|special_hosts | |special_hosts | ||
− | | | + | |See [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/special_hosts on GitHub] |
|- | |- | ||
|special_media | |special_media | ||
− | | | + | |See: [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/special_media on GitHub] |
|- | |- | ||
|special_noauto | |special_noauto | ||
− | | | + | |See: [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/special_noauto on GitHub] |
|- | |- | ||
|special_null | |special_null | ||
− | | | + | |See: [https://github.com/cunnie/vain.nono.io-etc/blob/master/autofs/special_null on GitHub] |
|- | |- | ||
|special_simple-mtpfs | |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/ | + | !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] | ||
Latest revision as of 14:10, 8 April 2020
Welcome to /etc/autofs/. |
Introduction[edit]
The automounter configuration consists of the 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 automount(8) command. Map files are read by the 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[edit]
Files | 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 on GitHub |
include_nis | Network Information System (NIS) is designed to centralize administration of UNIX®-like systems such as Solaris™, HP-UX, AIX®, Linux, NetBSD, OpenBSD, and FreeBSD. 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 on GitHub |
include_nis_nullfs | See on GitHub |
special_hosts | See on GitHub |
special_media | See: on GitHub |
special_noauto | See: on GitHub |
special_null | See: on GitHub |
special_simple-mtpfs | See: The "-media" Map |
Back to /etc/ |