On Thursday 03 May 2007, Natanael Copa wrote:
> On Wed, 2007-05-02 at 17:54 -0400, Mike Frysinger wrote:
> > 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]
>
> Sometimes it is good to be able to rename the device itself too. For
> example, zapctl should go to zap/ctl and not zap/zapctl

heh, we account for zapctl as well actually ... i just didnt think noting it 
would be worthwhile as no one else would recognize it ;)

> What about this syntax:
> <device regex> <uid>:<gid> <octal perms> [subdir [dest]] [<@|$|*> command]
>
> or:
> <device regex> <uid>:<gid> <octal perms> [[subdir/][dest]] [<@|$|*>
> command]

hmm, if we offered subdir and symlink, that'd account for your needs as well 
right ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to