[git commit master] add examples/mdev.conf

Denys Vlasenko vda.linux at googlemail.com
Sat Nov 7 02:28:48 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=27094cac7f6adcb956d93cfba4a57782b27be412
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 examples/mdev.conf |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 examples/mdev.conf

diff --git a/examples/mdev.conf b/examples/mdev.conf
new file mode 100644
index 0000000..cdbb4fc
--- /dev/null
+++ b/examples/mdev.conf
@@ -0,0 +1,30 @@
+#
+# This is a sample mdev.conf
+#
+
+# Provide user, group, and mode information for devices.  If a regex matches
+# the device name provided by sysfs, use the appropriate user:group and mode
+# instead of the default 0:0 660.
+#
+# Syntax:
+# %s %d:%d %s
+# devicename_regex user:group mode
+
+null		0:0 666
+zero		0:0 666
+urandom		0:0 444
+
+kmem		0:9 000
+mem		0:9 640
+port		0:9 640
+
+console		0:5 600
+ptmx		0:5 660
+tty[0-9]*	0:5 660
+
+ttyS[0-9]*	0:20 640
+
+fd[0-9]*	0:11 660
+
+sd[a-z]*	0:6 660
+hd[a-z]*	0:6 660
-- 
1.6.3.3



More information about the busybox-cvs mailing list