[patch/rfc] add fourth field to mdev.conf for subdirs

Mike Frysinger vapier at gentoo.org
Wed May 2 14:54:36 PDT 2007


there are a few common/important set of device nodes that only work when in 
the proper subdirectory ... for example, all of ALSA userland requires the 
sound nodes to be in /dev/snd/ and all of the input device nodes need to be 
in /dev/input/

we're using the attached patch by Sonic Zhang in our Blackfin distribution ... 
it simply changes the syntax from:
<device regex> <uid>:<gid> <octal perms> [command]
to:
<device regex> <uid>:<gid> <octal perms> [subdir] [<@|$|*> command]

the patch isnt 100% correct right now ... i'd like to see what ideas other 
people have
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/busybox/attachments/20070502/35d63dbf/attachment.pgp 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdev-subdirs.patch
Type: text/x-diff
Size: 3082 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20070502/35d63dbf/attachment.bin 


More information about the busybox mailing list