Difference between revisions of "/etc/autofs/"

From GhostBSD Wiki
Jump to: navigation, search
(Created page with "{{welcome}} ===Files=== {|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px" |- ! scope="col" style="width:...")
 
(Introduction)
 
(4 intermediate revisions by the same user not shown)
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 10: Line 16:
 
! 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]
 
|-
 
|-
!colspan="2"|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=/etc/ Structure]]'''/etc/'''
+
|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
 +
|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]
  
  

Latest revision as of 15:10, 8 April 2020

Welcome to Icon Disti GhostBSD.png /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 Icon Disti GhostBSD.png/etc/

Links[edit]