summaryrefslogtreecommitdiffstats
path: root/share/man/man5
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man5')
-rw-r--r--share/man/man5/devfs.conf.549
-rw-r--r--share/man/man5/devfs.rules.525
2 files changed, 37 insertions, 37 deletions
diff --git a/share/man/man5/devfs.conf.5 b/share/man/man5/devfs.conf.5
index 4b1acdc..ecb2b7b 100644
--- a/share/man/man5/devfs.conf.5
+++ b/share/man/man5/devfs.conf.5
@@ -51,45 +51,50 @@ The lines that specify
.Nm
rules consist of three parameters separated by whitespace:
.Bl -tag -width indent
-.It Li action
+.It Ar action
The action to take for the device.
The action names are only significant to the first unique character.
-.It Li devname
+.It Ar devname
The name of the device created by
-.Xr devfs 5
-.It Li arg
+.Xr devfs 5 .
+.It Ar arg
The argument of the
-.Dq Li action
+.Ar action .
.El
.Pp
The actions currently supported are:
.Bl -tag -width indent
-.It Li link
+.It Ic link
This action creates a symbolic link named
-.Dq Li arg
+.Ar arg
that points to
-Dq Li devname ,
+.Ar devname ,
the name of the device created by
.Xr devfs 5 .
-.It Li own
+.It Ic own
This action changes the ownership of
-.Dq Li devname .
+.Ar devname .
The
-.Dq Li arg
+.Ar arg
parameter must be in the form of an
-.Li "owner:group"
+.Ar owner Ns : Ns Ar group
pair, in the same format used by
.Xr chown 8 .
-.It Li perm
+.It Ic perm
This action changes the permissions of
-.Dq Li devname .
+.Ar devname .
The
-.Dq Li arg
+.Ar arg
paramater must be a
-.Pa mode
+.Ar mode
as explained in
.Xr chmod 1 .
.El
+.Sh FILES
+.Bl -tag -compact
+.It Pa /etc/devfs.conf
+.It Pa /usr/share/examples/etc/devfs.conf
+.El
.Sh EXAMPLES
To create a
.Pa /dev/cdrom
@@ -112,23 +117,18 @@ link acd0 cdrom
.Ed
.Pp
To set the owner of a device, the
-.Dq Li own
+.Ic own
action may be specified:
.Bd -literal -offset indent
own cd0 root:cdrom
.Ed
.Pp
To set the permissions of a device, a
-.Dq Li perm
+.Ic perm
action should be used:
.Bd -literal -offset indent
perm cd0 0660
.Ed
-.Sh FILES
-.Bl -tag -compact
-.It Pa /etc/devfs.conf
-.It Pa /usr/share/examples/etc/devfs.conf
-.El
.Sh SEE ALSO
.Xr chmod 1 ,
.Xr devfs 5 ,
@@ -136,4 +136,5 @@ perm cd0 0660
.Xr usbd.conf 5 ,
.Xr chown 8
.Sh AUTHORS
-.An "Roland Smith" Aq rsmith@xs4all.nl
+This manual page was written by
+.An "Roland Smith" Aq rsmith@xs4all.nl .
diff --git a/share/man/man5/devfs.rules.5 b/share/man/man5/devfs.rules.5
index 7d07a58..075e71b 100644
--- a/share/man/man5/devfs.rules.5
+++ b/share/man/man5/devfs.rules.5
@@ -51,7 +51,7 @@ separated by an equal sign.
Other lines are rule specifications as documented in
.Xr devfs 8 ,
in the section
-.Dq "Rule Specification" .
+.Sx "Rule Specification" .
These lines are prepended with
.Dq Li rule
and are passed to
@@ -60,33 +60,32 @@ by the startup scripts of the system.
It is important to put path elements that contain
.Xr glob 3
special characters between quotes.
+.Sh FILES
+.Bl -tag -compact
+.It Pa /etc/devfs.rules
+.It Pa /etc/defaults/devfs.rules
+.El
.Sh EXAMPLES
To make all the partitions of
.Xr da 4
devices readable and writable by their owner and the
.Dq Li usb
group, the following rule may be used:
-.Bd -literal -offset indent
-add path 'da*s*' mode 0660 group usb
-.Ed
+.Pp
+.Dl "add path 'da*s*' mode 0660 group usb"
.Pp
To make all the
.Xr uscanner 4
devices accessible to their owner and the
.Dq Li usb
group, a similar rule may be used:
-.Bd -literal -offset indent
-add path 'uscanner*' mode 0660 group usb
-.Ed
-.Sh FILES
-.Bl -tag -compact
-.It Pa /etc/devfs.rules
-.It Pa /etc/defaults/devfs.rules
-.El
+.Pp
+.Dl "add path 'uscanner*' mode 0660 group usb"
.Sh SEE ALSO
.Xr glob 3 ,
.Xr devfs 5 ,
.Xr devfs.conf 5 ,
.Xr devfs 8
.Sh AUTHORS
-.An "Roland Smith" Aq rsmith@xs4all.nl
+This manual page was written by
+.An "Roland Smith" Aq rsmith@xs4all.nl .
OpenPOWER on IntegriCloud