aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-02-07 18:14:39 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2015-02-07 18:14:39 +0100
commita03195941b40f0d740f06d23648f672fe81d4ecf (patch)
tree1b651f7e670006853c21bc6f74f2ee77ecbefb38
parentf22a838aed8264f2f3a20ea9865d7d2e9ccb26c1 (diff)
downloadbusybox-w32-a03195941b40f0d740f06d23648f672fe81d4ecf.tar.gz
busybox-w32-a03195941b40f0d740f06d23648f672fe81d4ecf.tar.bz2
busybox-w32-a03195941b40f0d740f06d23648f672fe81d4ecf.zip
examples/mdev_fat.conf: document that newer mdev exposes path
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--examples/mdev_fat.conf12
1 files changed, 9 insertions, 3 deletions
diff --git a/examples/mdev_fat.conf b/examples/mdev_fat.conf
index f2a15f35d..630d2700a 100644
--- a/examples/mdev_fat.conf
+++ b/examples/mdev_fat.conf
@@ -19,7 +19,7 @@
19# support module loading on hotplug 19# support module loading on hotplug
20$MODALIAS=.* root:root 660 @modprobe "$MODALIAS" 20$MODALIAS=.* root:root 660 @modprobe "$MODALIAS"
21 21
22# null may already exist; therefore ownership has to be changed with command 22# null may already exist; therefore mode has to be changed with command
23null root:root 666 @chmod 666 $MDEV 23null root:root 666 @chmod 666 $MDEV
24zero root:root 666 24zero root:root 666
25full root:root 666 25full root:root 666
@@ -31,7 +31,7 @@ grsec root:root 660
31kmem root:root 640 31kmem root:root 640
32mem root:root 640 32mem root:root 640
33port root:root 640 33port root:root 640
34# console may already exist; therefore ownership has to be changed with command 34# console may already exist; therefore mode has to be changed with command
35console root:tty 600 @chmod 600 $MDEV 35console root:tty 600 @chmod 600 $MDEV
36ptmx root:tty 666 36ptmx root:tty 666
37pty.* root:tty 660 37pty.* root:tty 660
@@ -63,6 +63,12 @@ control.* root:audio 660 =snd/
63midi.* root:audio 660 =snd/ 63midi.* root:audio 660 =snd/
64seq root:audio 660 =snd/ 64seq root:audio 660 =snd/
65timer root:audio 660 =snd/ 65timer root:audio 660 =snd/
66# for kernels/mdevs which expose full path of alsa devices:
67snd/pcm.* root:audio 660
68snd/control.* root:audio 660
69snd/midi.* root:audio 660
70snd/seq root:audio 660
71snd/timer root:audio 660
66 72
67adsp root:audio 660 >sound/ 73adsp root:audio 660 >sound/
68audio root:audio 660 >sound/ 74audio root:audio 660 >sound/
@@ -139,6 +145,6 @@ dahdi!(.*) root:dialout 660 =dahdi/%1
139# We are hooking to the last events. To avoid having two scripts running, 145# We are hooking to the last events. To avoid having two scripts running,
140# we check for DISK_MEDIA_CHANGE=1 (prev to last event has it, 146# we check for DISK_MEDIA_CHANGE=1 (prev to last event has it,
141# and it's the _only_ difference in env for these two events as of kernel 3.7.7) 147# and it's the _only_ difference in env for these two events as of kernel 3.7.7)
142# Unfortunately, there is no event for "user pressed [Turn USB storage] btn"! 148# Unfortunately, there is no event for "user pressed [Turn USB storage on] btn"!
143# Script merely backgrounds and tries to rescan partition table for 1 minute: 149# Script merely backgrounds and tries to rescan partition table for 1 minute:
144ACTION=change;SUBSYSTEM=block;DISK_MEDIA_CHANGE=1;.* 0:0 660 */etc/mdev.conf.change_blockdev.sh 150ACTION=change;SUBSYSTEM=block;DISK_MEDIA_CHANGE=1;.* 0:0 660 */etc/mdev.conf.change_blockdev.sh