author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-07 17:14:39 (GMT) |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-07 17:14:39 (GMT) |
commit | a03195941b40f0d740f06d23648f672fe81d4ecf (patch) | |
tree | 1b651f7e670006853c21bc6f74f2ee77ecbefb38 | |
parent | f22a838aed8264f2f3a20ea9865d7d2e9ccb26c1 (diff) | |
download | busybox-a03195941b40f0d740f06d23648f672fe81d4ecf.zip busybox-a03195941b40f0d740f06d23648f672fe81d4ecf.tar.gz busybox-a03195941b40f0d740f06d23648f672fe81d4ecf.tar.bz2 |
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 f2a15f3..630d270 100644 --- a/examples/mdev_fat.conf +++ b/examples/mdev_fat.conf @@ -19,7 +19,7 @@ # support module loading on hotplug $MODALIAS=.* root:root 660 @modprobe "$MODALIAS" -# null may already exist; therefore ownership has to be changed with command +# null may already exist; therefore mode has to be changed with command null root:root 666 @chmod 666 $MDEV zero root:root 666 full root:root 666 @@ -31,7 +31,7 @@ grsec root:root 660 kmem root:root 640 mem root:root 640 port root:root 640 -# console may already exist; therefore ownership has to be changed with command +# console may already exist; therefore mode has to be changed with command console root:tty 600 @chmod 600 $MDEV ptmx root:tty 666 pty.* root:tty 660 @@ -63,6 +63,12 @@ control.* root:audio 660 =snd/ midi.* root:audio 660 =snd/ seq root:audio 660 =snd/ timer root:audio 660 =snd/ +# for kernels/mdevs which expose full path of alsa devices: +snd/pcm.* root:audio 660 +snd/control.* root:audio 660 +snd/midi.* root:audio 660 +snd/seq root:audio 660 +snd/timer root:audio 660 adsp root:audio 660 >sound/ audio root:audio 660 >sound/ @@ -139,6 +145,6 @@ dahdi!(.*) root:dialout 660 =dahdi/%1 # We are hooking to the last events. To avoid having two scripts running, # we check for DISK_MEDIA_CHANGE=1 (prev to last event has it, # and it's the _only_ difference in env for these two events as of kernel 3.7.7) -# Unfortunately, there is no event for "user pressed [Turn USB storage] btn"! +# Unfortunately, there is no event for "user pressed [Turn USB storage on] btn"! # Script merely backgrounds and tries to rescan partition table for 1 minute: ACTION=change;SUBSYSTEM=block;DISK_MEDIA_CHANGE=1;.* 0:0 660 */etc/mdev.conf.change_blockdev.sh |