From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Smirl Date: Mon, 05 Jan 2004 22:02:20 +0000 Subject: Re: forcing device to appear in subdir Message-Id: <20040105220220.39830.qmail@web14915.mail.yahoo.com> List-Id: References: <20040103184237.92495.qmail@web14901.mail.yahoo.com> In-Reply-To: <20040103184237.92495.qmail@web14901.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org This is what I'm using to force the subdir, is this the best way? Should there be a separate file for rules that are never to be changed? --- rr 2004-01-05 16:59:39.368395445 -0500 +++ udev.rules 2003-12-27 11:57:45.000000000 -0500 @@ -46,3 +46,5 @@ #REPLACE, KERNEL="ttyS*", NAME="tts/%n" #REPLACE, KERNEL="tty*", NAME="vc/%n" +REPLACE, KERNEL="card*", NAME="dri/card%n" + --- Greg KH wrote: > On Sun, Jan 04, 2004 at 08:44:24AM -0800, Jon Smirl wrote: > > --- Greg KH wrote: > > > On Sat, Jan 03, 2004 at 10:42:37AM -0800, Jon Smirl wrote: > > > > DRI devices are supposed to appear in dri/card0, dri/card1, etc. > > > > > > Says the LSB standard? > > > > What does LSB say on this? It's been dri/cardX ever since dri was created, > long > > before I started working on it. > > LSB says to follow what LANANA says, and the LANANA documentation says: > > 226 char Direct Rendering Infrastructure (DRI) > 0 = /dev/dri/card0 First graphics card > 1 = /dev/dri/card1 Second graphics card > ... > > So yup, you should be in your own subdirectory. Care to send me a patch > for udev.rules that adds this subdir for all dri devices? > > thanks, > > greg k-h ==Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel