From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 10 Dec 2003 22:07:40 +0000 Subject: Re: udev.rules.devfs + symlinks & a question Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Dec 10, 2003 at 01:01:37PM +0100, Svetoslav Slavtchev wrote: > Hi, > > udev_bk is looking really great :-) > great work , isn't it time for a 0.009 or 0.1 release? What's with the '.'? 009 will be the next release, hopefully soon, I'm waiting on some stuff from the libsysfs authors... > let's start with the question > > i'm still missing a number of devices, how should i get them in /udev ? > these are the raw , pty and pts devices pty and pts are handled by the devpts filesystem. For raw devices I have a patch floating around in my kernel tree that needs to be looked at a bunch. Care to test it out? > also does anyone have links to the patches that add sound support ? Again, I have patches, but don't think they are ready for prime time. I want to get these out soon, need to stop answering dumb devfs vs udev questions on lkml... > attached is my udev.rules, > which brings me directory structure almost(completely?) equivelent > to the devfs one, except that some devices are still missing > ( tree /udev = tree-udev.txt, missing entries from /dev = tree-dev.txt ) > > and i'm not sure how can i distinguish a cd drive from a hard drive For scsi cdroms it's easy, look at the type file in sysfs. For ide cdroms, code needs to be added to the kernel to export that information for you to determine this. > and there is a spelling issue either in devfs or -D :-) > according to devfs hole disks are named "disc" > according to -D they are named "disk" > to me the second is more correct, but as it was added just for devfs > compatibility it should be probably changed to what devfs use "disc" Good point, I'll go change that. 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