lkml.org 
[lkml]   [2006]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CD writing in future Linux (stirring up a hornets' nest)
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-19 19:55    [W:0.285 / U:0.744 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site