Editing /etc/autofs/
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
==Introduction== | ==Introduction== | ||
− | The | + | The [https://www.freebsd.org/cgi/man.cgi?query=auto_master&sektion=5 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 [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. |
− | + | ||
− | + | ||
===Content=== | ===Content=== | ||
+ | See also: | ||
+ | * [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] | ||
+ | |||
+ | 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/: | ||
{|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 17: | Line 20: | ||
|- | |- | ||
|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. | + | |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. |
|- | |- | ||
|include_nis | |include_nis | ||
− | | | + | | |
|- | |- | ||
|include_nis_nullfs | |include_nis_nullfs | ||
− | | | + | | |
|- | |- | ||
|special_hosts | |special_hosts | ||
− | | | + | | |
|- | |- | ||
|special_media | |special_media | ||
− | | | + | | |
|- | |- | ||
|special_noauto | |special_noauto | ||
− | | | + | | |
|- | |- | ||
|special_null | |special_null | ||
− | | | + | | |
|- | |- | ||
|special_simple-mtpfs | |special_simple-mtpfs | ||
− | | | + | | |
|- | |- | ||
− | !colspan="2"|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=/etc/]]'''/etc/''' | + | !colspan="2"|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=/etc/ Structure]]'''/etc/''' |
− | + | ||
− | |||
− | |||
− | |||
− | |||