From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dr5KG-0001Yz-44 for garchives@archives.gentoo.org; Sat, 09 Jul 2005 02:44:20 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j692gwfn009610; Sat, 9 Jul 2005 02:42:58 GMT Received: from perch.kroah.org (mail.kroah.org [69.55.234.183]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j692dnvs003586 for ; Sat, 9 Jul 2005 02:39:49 GMT Received: from [192.168.0.10] (c-24-22-115-24.hsd1.or.comcast.net [24.22.115.24]) (authenticated) by perch.kroah.org (8.11.6/8.11.6) with ESMTP id j692dZq08841 for ; Fri, 8 Jul 2005 19:39:35 -0700 Received: from greg by echidna.kroah.org with local (masqmail 0.2.19) id 1Dr58J-1yQ-00 for ; Fri, 08 Jul 2005 19:31:59 -0700 Date: Fri, 8 Jul 2005 19:31:59 -0700 From: Greg KH To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] devfs is dead, let's move on Message-ID: <20050709023159.GB7474@kroah.com> References: <20050706224651.GA19853@kroah.com> <1120745893.11567.42.camel@cgianelloni.nuvox.net> <20050708171252.GD29606@kroah.com> <20050709010031.GA449936@lion.gg3.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050709010031.GA449936@lion.gg3.net> User-Agent: Mutt/1.5.8i X-Archives-Salt: 0ac270f3-46ea-40b5-a62e-c60b08404de4 X-Archives-Hash: f1681d9207a7f3b91db5e5c577fdd992 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