Re: CD writing in future Linux (stirring up a hornets' nest)

From: Daniel Barkalow
Date: Sun Feb 19 2006 - 13:55:49 EST


On Sat, 18 Feb 2006, Gene Heskett wrote:

> But I fail to see where this would help to 'find' the right device to
> write to, other than the obvious prefixing of '/dev/' to $drive name.
> We already knew that, and in fact it works very well. Please explain to
> Joerg in one syllable words he might, if he wanted to, understand.

Honestly, the right thing for Joerg is /dev/cdrom or /dev/cdroms/*. The
principle ought to be that something in userspace will talk to the kernel
and produce a /dev structure containing names the user will recognize.
(FWIW, /dev/cdrom has worked on every Linux machine I've had since my
first system 10 years ago, but I've heard of people having multiple
drives.)

Probably the right thing for getting the user to really know which thing
is which is to have a configuration program that configures udev by
listing all the devices that go through cdrom.c, giving some info about
them, letting the user open the tray on them (to distinguish identical
devices), and having the user give each a name, which then appears in
/dev/cdroms (by reconfiguring udev). All of the detailed info from the
kernel should go to the system configuration utility, not to cdrecord,
which shouldn't need it, because either the default drive (/dev/cdrom) or
the drive from /dev/cdroms that the user specifies will be right.

-Daniel
*This .sig left intentionally blank*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/