Author: jmg Date: Tue Dec 1 23:25:21 2020 New Revision: 368267 URL: https://svnweb.freebsd.org/changeset/base/368267
Log: add documentation that the rules need to be reloaded, and how to do it... MFC after: 1 week Modified: head/sbin/devfs/devfs.8 head/share/man/man5/devfs.rules.5 Modified: head/sbin/devfs/devfs.8 ============================================================================== --- head/sbin/devfs/devfs.8 Tue Dec 1 23:07:05 2020 (r368266) +++ head/sbin/devfs/devfs.8 Tue Dec 1 23:25:21 2020 (r368267) @@ -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 .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 Modified: head/share/man/man5/devfs.rules.5 ============================================================================== --- head/share/man/man5/devfs.rules.5 Tue Dec 1 23:07:05 2020 (r368266) +++ head/share/man/man5/devfs.rules.5 Tue Dec 1 23:25:21 2020 (r368267) @@ -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 rsm...@xs4all.nl . _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"