From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sun, 04 Jan 2004 08:52:46 +0000 Subject: Re: forcing device to appear in subdir Message-Id: <20040104085246.GA27612@kroah.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 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? > Right now I achieve this with a rule: > REPLACE, KERNEL="card*", NAME="dri/card%n" > > Can I control this via simple_add_class_device() or should I leave it as a rule? Nothing you can do in the sysfs tree will create a subdirectory in udev. Leave it as a rule. > If it's a rule it needs to go into the default udev install. Patches gladly accepted :) thanks, greg k-h ------------------------------------------------------- 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