diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-07 03:28:48 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-07 03:28:48 +0100 |
| commit | 27094cac7f6adcb956d93cfba4a57782b27be412 (patch) | |
| tree | 0868f447981da5929d995eedc9455280a00049fe /examples | |
| parent | 245a4f84be09505fcac7b2afab00106d65c815df (diff) | |
| download | busybox-w32-27094cac7f6adcb956d93cfba4a57782b27be412.tar.gz busybox-w32-27094cac7f6adcb956d93cfba4a57782b27be412.tar.bz2 busybox-w32-27094cac7f6adcb956d93cfba4a57782b27be412.zip | |
add examples/mdev.conf
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/mdev.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/mdev.conf b/examples/mdev.conf new file mode 100644 index 000000000..cdbb4fcfe --- /dev/null +++ b/examples/mdev.conf | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | # | ||
| 2 | # This is a sample mdev.conf | ||
| 3 | # | ||
| 4 | |||
| 5 | # Provide user, group, and mode information for devices. If a regex matches | ||
| 6 | # the device name provided by sysfs, use the appropriate user:group and mode | ||
| 7 | # instead of the default 0:0 660. | ||
| 8 | # | ||
| 9 | # Syntax: | ||
| 10 | # %s %d:%d %s | ||
| 11 | # devicename_regex user:group mode | ||
| 12 | |||
| 13 | null 0:0 666 | ||
| 14 | zero 0:0 666 | ||
| 15 | urandom 0:0 444 | ||
| 16 | |||
| 17 | kmem 0:9 000 | ||
| 18 | mem 0:9 640 | ||
| 19 | port 0:9 640 | ||
| 20 | |||
| 21 | console 0:5 600 | ||
| 22 | ptmx 0:5 660 | ||
| 23 | tty[0-9]* 0:5 660 | ||
| 24 | |||
| 25 | ttyS[0-9]* 0:20 640 | ||
| 26 | |||
| 27 | fd[0-9]* 0:11 660 | ||
| 28 | |||
| 29 | sd[a-z]* 0:6 660 | ||
| 30 | hd[a-z]* 0:6 660 | ||
