summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2010-02-21 10:29:45 +0000
committergavin <gavin@FreeBSD.org>2010-02-21 10:29:45 +0000
commit24f8e6df2531b9453d13e5fc72bb019b22e630a8 (patch)
tree518fd15c1a755e491a595916eda40ba8a33fdb79
parent30a2ed98abdb690fb73d57e7d7fbfb034376d952 (diff)
downloadFreeBSD-src-24f8e6df2531b9453d13e5fc72bb019b22e630a8.zip
FreeBSD-src-24f8e6df2531b9453d13e5fc72bb019b22e630a8.tar.gz
Document the interaction between /etc/devfs.conf and
/etc/defaults/devfs.conf PR: docs/117308 Submitted by: Mel <mel.xyzzy rachie.is-a-geek.net> (partially) MFC after: 1 week
-rw-r--r--sbin/devfs/devfs.89
-rw-r--r--share/man/man5/devfs.rules.512
2 files changed, 17 insertions, 4 deletions
diff --git a/sbin/devfs/devfs.8 b/sbin/devfs/devfs.8
index 62e10d9..7a744d4 100644
--- a/sbin/devfs/devfs.8
+++ b/sbin/devfs/devfs.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 27, 2008
+.Dd February 21, 2010
.Dt DEVFS 8
.Os
.Sh NAME
@@ -196,6 +196,9 @@ Apply all the rules in ruleset number
to the node.
This does not necessarily result in any changes to the node
(e.g., if none of the rules in the included ruleset match).
+Include commands in the referenced
+.Ar ruleset
+are not resolved.
.It Cm mode Ar filemode
Set the file mode to
.Ar filemode ,
@@ -243,7 +246,9 @@ configuration file.
.It Pa /etc/devfs.rules
Local
.Nm
-configuration file.
+configuration file. Rulesets in here override those in
+.Pa /etc/defaults/devfs.rules
+with the same ruleset number, otherwise the two files are effectively merged.
.It Pa /etc/devfs.conf
Boot-time
.Nm
diff --git a/share/man/man5/devfs.rules.5 b/share/man/man5/devfs.rules.5
index c1e5d93..8a7b3d6 100644
--- a/share/man/man5/devfs.rules.5
+++ b/share/man/man5/devfs.rules.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 30, 2006
+.Dd February 21, 2010
.Dt DEVFS.RULES 5
.Os
.Sh NAME
@@ -83,8 +83,16 @@ devfs_system_ruleset="localrules"
.Ed
.Sh FILES
.Bl -tag -compact
-.It Pa /etc/devfs.rules
.It Pa /etc/defaults/devfs.rules
+Default
+.Nm
+configuration file.
+.It Pa /etc/devfs.rules
+Local
+.Nm
+configuration file. Rulesets in here override those in
+.Pa /etc/defaults/devfs.rules
+with the same ruleset number, otherwise the two files are effectively merged.
.El
.Sh EXAMPLES
To make all the partitions of
OpenPOWER on IntegriCloud