summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2012-02-09 10:09:12 +0000
committermm <mm@FreeBSD.org>2012-02-09 10:09:12 +0000
commit27a58a0dde89f99954c275fce42e656d2c5a7cbf (patch)
treedbeb835f14a88b3d6a3b043db2ed23b39f0d5275 /share
parent0fd71d974ef947d1cda47ec787a9f307bc4ba8ad (diff)
downloadFreeBSD-src-27a58a0dde89f99954c275fce42e656d2c5a7cbf.zip
FreeBSD-src-27a58a0dde89f99954c275fce42e656d2c5a7cbf.tar.gz
Introduce the "ruleset=number" option for devfs(5) mounts.
Add support for updating the devfs mount (currently only changing the ruleset number is supported). Check mnt_optnew with vfs_filteropt(9). This new option sets the specified ruleset number as the active ruleset of the new devfs mount and applies all its rules at mount time. If the specified ruleset doesn't exist, a new empty ruleset is created. MFC after: 1 month
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/devfs.525
1 files changed, 24 insertions, 1 deletions
diff --git a/share/man/man5/devfs.5 b/share/man/man5/devfs.5
index 8c7e598..7b483fc 100644
--- a/share/man/man5/devfs.5
+++ b/share/man/man5/devfs.5
@@ -38,7 +38,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 18, 2010
+.Dd February 9, 2012
.Dt DEVFS 5
.Os
.Sh NAME
@@ -90,6 +90,29 @@ and
.Pa 2 .
.Xr fdescfs 5
creates files for all open descriptors.
+.Pp
+The options are as follows:
+.Bl -tag -width indent
+.It Fl o Ar options
+Use the specified mount
+.Ar options ,
+as described in
+.Xr mount 8 .
+The following devfs file system-specific options are available:
+.Bl -tag -width indent
+.It Cm ruleset Ns No = Ns Ar ruleset
+Set ruleset number
+.Ar ruleset
+as the current ruleset for the mount-point and apply all its rules. If the
+ruleset number
+.Ar ruleset
+does not exist, an empty ruleset with the number
+.Ar ruleset
+is created. See
+.Xr devfs 8
+for more information on working with devfs rulesets.
+.El
+.El
.Sh FILES
.Bl -tag -width /dev/XXXX -compact
.It Pa /dev
OpenPOWER on IntegriCloud