From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Svetoslav Slavtchev" Date: Wed, 10 Dec 2003 13:17:04 +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="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org > On Wednesday 10 December 2003 13:01, Svetoslav Slavtchev wrote: >=20 > > 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 >=20 > These, and more, currently lack class device support in the kernel. > As an example, you can look at Greg's tty class in drivers/char/tty_io.c > AFAICS, pty and pts devices need not be created if you use the /dev/pts > file system, although you could register them as tty class devices. ok > Aside from raw devices, we need at least support for tape and misc devices > (both have been discussed before here) and there are probable others. Greg has posted a patch for misc devices, so then raw & tape are the missing > > 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" >=20 > When I wrote the patch for %D, I had only dasd devices in mind, which > actually used 'disk', not 'disc' in devfs. Maybe we need both variants, > e.g. %d for disc and %D for disk? > Which drivers are using the disc name, is it only ide or are there others? according to my hardware scsi devices use "disc" too /* just pluged in a usb zip drive */ for other hardware i don't know which reminds me, couldn't the -D or -d modifier create the path to the device it's the same for ide & scsi /* except the trailing ide/scsi */ " /host0/bus0/target0/lun0/ " from the id for a generic udev.rules that should work on most systems at least 10-20 lines are needed only for ide/scsi disks best, svetljo PS for cd devices "cd" is used instead of "disk", but can we distinguish cd's from hard drives in sysfs? --=20 +++ GMX - die erste Adresse f=FCr Mail, Message, More +++ Neu: Preissenkung f=FCr MMS und FreeMMS! http://www.gmx.net ------------------------------------------------------- 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_id=1278&alloc_id371&op=3Dclick _______________________________________________ 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