add documentation that the rules need to be reloaded, and how to do it...

MFC after:	1 week
This commit is contained in:
John-Mark Gurney 2020-12-01 23:25:21 +00:00
parent cd56ababd3
commit 4102e8385f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368267
2 changed files with 21 additions and 4 deletions

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd October 5, 2016
.Dd December 1, 2020
.Dt DEVFS 8
.Os
.Sh NAME
@ -43,6 +43,15 @@ utility provides an interface to manipulate properties of
.Xr devfs 5
mounts.
.Pp
The rules, by default as configured by
.Pa /etc/rc.conf ,
are loaded at boot via the devfs
.Xr service 8 .
The rules can be reloaded by running the command:
.Bd -literal -offset indent
service devfs restart
.Ed
.Pp
The
.Ar keyword
argument determines the context for
@ -374,7 +383,8 @@ this feature can be used to copy rulesets:
.Xr devfs.rules 5 ,
.Xr chown 8 ,
.Xr jail 8 ,
.Xr mknod 8
.Xr mknod 8 ,
.Xr service 8
.Sh HISTORY
The
.Nm

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd February 21, 2010
.Dd December 1, 2020
.Dt DEVFS.RULES 5
.Os
.Sh NAME
@ -81,6 +81,12 @@ file:
.Bd -literal -offset indent
devfs_system_ruleset="localrules"
.Ed
.Pp
The rules are loaded at boot via the devfs service.
To load modified rules after the system has booted, run the command:
.Bd -literal -offset indent
service devfs restart
.Ed
.Sh FILES
.Bl -tag -compact -width Pa
.It Pa /etc/defaults/devfs.rules
@ -122,7 +128,8 @@ group, a similar rule may be used:
.Xr glob 3 ,
.Xr devfs 5 ,
.Xr devfs.conf 5 ,
.Xr devfs 8
.Xr devfs 8 ,
.Xr service 8
.Sh AUTHORS
This manual page was written by
.An Roland Smith Aq Mt rsmith@xs4all.nl .