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

From: Vojtech Pavlik
Date: Thu Jan 26 2006 - 14:22:04 EST


On Thu, Jan 26, 2006 at 02:07:53PM -0500, Dmitry Torokhov wrote:
> On 1/26/06, Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote:
> > >> Udev interfaces that and can be set up so that it assigns
> > >> /dev/cdrecorder0, 1, ... to evey recorder in the system, implementing
> > >> the userspace interface.
> > >
> > >Problem is, udev doesn't. Or at least it varies from distribution to
> > >distribution. For instance recent gentoo creates /dev/cdrom*,
> > >/dev/cdrw*, /dev/dvd*, /dev/dvdrw*. Fedora core 3 creates
> > >/dev/cdrom*, /dev/cdwriter*, /dev/dvd*, /dev/dvdwriter*. I guess from
> > >your email that SuSE does /dev/cdrecorder*. And I'm not able to
> > >guess what fedora core 5, mandrake, debian, slackware and infinite
> > >number of derivatives do.
> >
>
> The above can be standatrisized (sp?). How is it different from notmal
> filesystem naming layout?
>
> > Plus you have to think about systems not using udev at all.
> > Cheers, chaos preprogrammed.
>
> We might want to add a new class in sysfs, except we do not allow a
> device to belong to several classes (we require splittiing it into
> sub-devices which is not entirely correct in case of DVD+-RW which
> should belong to classes CD, DVD, DVD-RW, OTOH maybe it is sane to
> treat it as 3 different sub-devices in one
> physical package).

I don't think there is a reason for a new class. Maybe some attributes,
but not a class - they're all the same kind of devices, only plain
CD-ROMs can only write CDs at speed 0 ;).

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
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/