On Sat, Jul 09, 2005 at 10:00:31AM +0900, Georgi Georgiev wrote: > > # vc devices > > -KERNEL=="vcs", NAME="vcc/0", SYMLINK+="%k", GROUP="tty" > > -KERNEL=="vcs[0-9]*", NAME="vcc/%n", SYMLINK+="%k", GROUP="tty" > > -KERNEL=="vcsa", NAME="vcc/a0", SYMLINK+="%k", GROUP="tty" > > -KERNEL=="vcsa[0-9]*", NAME="vcc/a%n", SYMLINK+="%k", GROUP="tty" > > +KERNEL=="vcs", NAME="%k", GROUP="tty" > > +KERNEL=="vcs[0-9]*", NAME="%k", GROUP="tty" > > +KERNEL=="vcsa", NAME="%k", GROUP="tty" > > +KERNEL=="vcsa[0-9]*", NAME="%k", GROUP="tty" > > > > # memory devices > > KERNEL=="random", NAME="%k", MODE="0666" > > I've been trying to get this for a while, but isn't it OK to omit > NAME="%k" since that's the default anyway? Or is there some other idea, > related to those last-rule processed things. I think it's prettier to > not specify redundand stuff and only specify what you want to have > *changed*.
Yes, it should work just fine without the NAME="%k", but it's safe to put it there. It helps others when reading the rules and learning how to write their own. thanks, greg k-h -- gentoo-dev@gentoo.org mailing list