Index: auto_master.5 =================================================================== --- auto_master.5 +++ auto_master.5 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 17, 2014 +.Dd November 18, 2014 .Dt AUTO_MASTER 5 .Os .Sh NAME @@ -34,6 +34,10 @@ .Nm auto_master .Nd auto_master and map file format .Sh DESCRIPTION +The automounter configuration consists of +.Nm +configuration file, which assigns filesystem paths to map names, +and maps, which contain actual mount information. The .Nm configuration file is used by the @@ -134,6 +138,9 @@ It is not passed to the mount program as an option. Instead, it is passed as argument to .Cm "mount -t". +Default +.Li fstype +is "nfs". The special option .Li nobrowse is used to disable creation of top-level directories for special @@ -153,9 +160,11 @@ For example, .Li :/dev/cd0 . .Pp -This example, when used with the +This example, when put into +.Pa /etc/auto_example , +and with .Nm -example above, specifies that the NFS share +referring to the map as described above, specifies that the NFS share .Li 192.168.1.1:/share/example/x will be mounted on .Pa /example/x/ @@ -163,11 +172,18 @@ .Li intr and .Li nfsv4 -mount options: +mount options, described in +.Xr mount_nfs 8 : .Bd -literal -offset indent .Li x -intr,nfsv4 192.168.1.1:/share/example/x .Ed .Pp +Automatically mount an SMB share on access, as a guest user, +without prompting for password: +.Bd -literal -offset indent +.Li share -fstype=smbfs,-N ://@server/share +.Ed +.Pp Automatically mount the CD drive on access: .Bd -literal -offset indent .Li cd -fstype=cd9660 :/dev/cd0 @@ -224,6 +240,7 @@ map file: .Bd -literal -offset indent .Li /example/x -intr,nfsv4 192.168.1.1:/share/example/x +.Li /example/share -fstype=smbfs,-N ://@server/share .Li /example/cd -fstype=cd9660 :/dev/cd0 .Ed .Sh DIRECTORY SERVICES