maillog: 08/07/2005-10:12:52(-0700): Greg KH types
> --- 50-udev.rules.orig        2005-07-08 10:10:24.000000000 -0700
> +++ 50-udev.rules     2005-07-08 10:11:16.000000000 -0700
> @@ -139,9 +139,9 @@
>  # tty devices
>  KERNEL=="console",   NAME="%k", GROUP="tty", MODE="0600"
>  KERNEL=="tty",               NAME="%k", GROUP="tty", MODE="0666"
> -KERNEL=="tty[0-9]*", NAME="vc/%n", SYMLINK+="%k", GROUP="tty"
> -KERNEL=="ttyS[0-9]*",        NAME="tts/%n", SYMLINK+="%k", GROUP="tty"
> -KERNEL=="ttyUSB[0-9]*",      NAME="tts/USB%n", GROUP="tty", MODE="0660"
> +KERNEL=="tty[0-9]*", NAME="%k", GROUP="tty"
> +KERNEL=="ttyS[0-9]*",        NAME="%k", GROUP="tty"
> +KERNEL=="ttyUSB[0-9]*",      NAME="%k", GROUP="tty", MODE="0660"
>  KERNEL=="ippp0",     NAME="%k", GROUP="tty"
>  KERNEL=="isdn*"              NAME="%k", GROUP="tty"
>  KERNEL=="dcbri*",    NAME="%k", GROUP="tty"
> @@ -149,14 +149,14 @@
>  
>  # pty devices
>  KERNEL=="ptmx",                      NAME="%k", GROUP="tty", MODE="0666"
> -KERNEL=="pty[p-za-e][0-9a-f]*",      NAME="pty/m%n", SYMLINK+="%k", 
> GROUP="tty"
> -KERNEL=="tty[p-za-e][0-9a-f]*",      NAME="pty/s%n", SYMLINK+="%k", 
> GROUP="tty"
> +KERNEL=="pty[p-za-e][0-9a-f]*",      NAME="%k", GROUP="tty"
> +KERNEL=="tty[p-za-e][0-9a-f]*",      NAME="%k", GROUP="tty"
>  
>  # 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*.

-- 
()   Georgi Georgiev   () People that can't find something to live     ()
()    [EMAIL PROTECTED]    () for always seem to find something to die     ()
()  +81(90)2877-8845   () for. The problem is, they usually want the   ()
() ------------------- () rest of us to die for it too.                ()
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to