Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142390212
D1199.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D1199.id.diff
View Options
Index: head/usr.sbin/autofs/auto_master.5
===================================================================
--- head/usr.sbin/autofs/auto_master.5
+++ head/usr.sbin/autofs/auto_master.5
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 19, 2014
+.Dd November 21, 2014
.Dt AUTO_MASTER 5
.Os
.Sh NAME
@@ -124,6 +124,12 @@
.Xr automountd 8
to find the right map entry to use.
It is also used to form the final mountpoint.
+A wildcard
+.Pq Ql *
+can be used for the key.
+It matches every directory that does not match other keys.
+Those directories will not be visible to the user
+until accessed.
.Pp
The
.Ar options
@@ -155,9 +161,20 @@
The
.Ar location
field specifies the filesystem to be mounted.
-To pass location that begins with
+Ampersands
+.Pq Ql &
+in the
+.Ar location
+field are replaced with the value of
+.Ar key .
+This is typically used with wildcards, like:
+.Bd -literal -offset indent
+.Li * 192.168.1.1:/share/&
+.Ed
+.Pp
+To pass a location that begins with
.Li / ,
-prefix it with colon.
+prefix it with a colon.
For example,
.Li :/dev/cd0 .
.Pp
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 11:51 AM (20 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27762921
Default Alt Text
D1199.id.diff (1 KB)
Attached To
Mode
D1199: Document wildcards and ampersands.
Attached
Detach File
Event Timeline
Log In to Comment