linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to automatically create symlinks named /dev/cdrom?
@ 2004-05-09  3:58 Norbert Kiesel
  2004-05-09 10:49 ` Marco d'Itri
  0 siblings, 1 reply; 2+ messages in thread
From: Norbert Kiesel @ 2004-05-09  3:58 UTC (permalink / raw)
  To: linux-hotplug

Hi,

started using udev and came across a problem I could not solve in
a satisfactory way: I'd like to get my symlinks /dev/cdrom and
/dev/dvd back.  For now I added two lines to links.conf (btw, where
is its file format documented?) like "L hdc cdrom", but this of course
breaks as soon as the cdrom moves around. man pages and googleing
did not help.

What I'm looking for is a rule stating: "whenever a media capable of
playing audio CDs (or reading ISO-9660 data CDs) shows up, generate
a symlink named cdrom within udev root to it". Analogous for DVD.

Currently I personally don't care that the above is broken as soon as
the second of a kind shows up because I don't have a machine with 2
CD drives :-) But I could imagine either picking just the first or
picking the "best" cdrom (using e.g. "speed" or user-provided data
like "First pick is the Pioneer CD-ROM, else the CD-RW").

so long
	Norbert



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-09 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-09  3:58 how to automatically create symlinks named /dev/cdrom? Norbert Kiesel
2004-05-09 10:49 ` Marco d'Itri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).