diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-07 18:14:39 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-07 18:14:39 +0100 |
commit | a03195941b40f0d740f06d23648f672fe81d4ecf (patch) | |
tree | 1b651f7e670006853c21bc6f74f2ee77ecbefb38 | |
parent | f22a838aed8264f2f3a20ea9865d7d2e9ccb26c1 (diff) | |
download | busybox-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.conf | 12 |
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 |
23 | null root:root 666 @chmod 666 $MDEV | 23 | null root:root 666 @chmod 666 $MDEV |
24 | zero root:root 666 | 24 | zero root:root 666 |
25 | full root:root 666 | 25 | full root:root 666 |
@@ -31,7 +31,7 @@ grsec root:root 660 | |||
31 | kmem root:root 640 | 31 | kmem root:root 640 |
32 | mem root:root 640 | 32 | mem root:root 640 |
33 | port root:root 640 | 33 | port 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 |
35 | console root:tty 600 @chmod 600 $MDEV | 35 | console root:tty 600 @chmod 600 $MDEV |
36 | ptmx root:tty 666 | 36 | ptmx root:tty 666 |
37 | pty.* root:tty 660 | 37 | pty.* root:tty 660 |
@@ -63,6 +63,12 @@ control.* root:audio 660 =snd/ | |||
63 | midi.* root:audio 660 =snd/ | 63 | midi.* root:audio 660 =snd/ |
64 | seq root:audio 660 =snd/ | 64 | seq root:audio 660 =snd/ |
65 | timer root:audio 660 =snd/ | 65 | timer root:audio 660 =snd/ |
66 | # for kernels/mdevs which expose full path of alsa devices: | ||
67 | snd/pcm.* root:audio 660 | ||
68 | snd/control.* root:audio 660 | ||
69 | snd/midi.* root:audio 660 | ||
70 | snd/seq root:audio 660 | ||
71 | snd/timer root:audio 660 | ||
66 | 72 | ||
67 | adsp root:audio 660 >sound/ | 73 | adsp root:audio 660 >sound/ |
68 | audio root:audio 660 >sound/ | 74 | audio 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: |
144 | ACTION=change;SUBSYSTEM=block;DISK_MEDIA_CHANGE=1;.* 0:0 660 */etc/mdev.conf.change_blockdev.sh | 150 | ACTION=change;SUBSYSTEM=block;DISK_MEDIA_CHANGE=1;.* 0:0 660 */etc/mdev.conf.change_blockdev.sh |