aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/devfs/devfs_devs.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-09-15 06:57:28 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-09-15 06:57:28 +0000
commit5e080af41fe6cd907de651434ce53de0c5e04114 (patch)
treea380e3da48b6acc169446694555c3a12c2fad544 /sys/fs/devfs/devfs_devs.c
parent4062f4e78e1d99481005404112d8dcd370fe224c (diff)
Notes
Diffstat (limited to 'sys/fs/devfs/devfs_devs.c')
-rw-r--r--sys/fs/devfs/devfs_devs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c
index 2329b844758c2..9cec56d49b30e 100644
--- a/sys/fs/devfs/devfs_devs.c
+++ b/sys/fs/devfs/devfs_devs.c
@@ -71,6 +71,10 @@ SYSCTL_UINT(_vfs_devfs, OID_AUTO, inodes, CTLFLAG_RD,
SYSCTL_UINT(_vfs_devfs, OID_AUTO, topinode, CTLFLAG_RD,
&devfs_topino, 0, "DEVFS highest inode#");
+unsigned devfs_rule_depth = 1;
+SYSCTL_UINT(_vfs_devfs, OID_AUTO, rule_depth, CTLFLAG_RW,
+ &devfs_rule_depth, 0, "Max depth of ruleset include");
+
/*
* Helper sysctl for devname(3). We're given a struct cdev * and return
* the name, if any, registered by the device driver.