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

From: Bartlomiej Zolnierkiewicz
Date: Wed Feb 01 2006 - 10:54:37 EST


On 2/1/06, Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote:
> >> > If it's /dev/cdrw, then it's /dev/cdrw, not '1,0,0'.
> >> >
> >> > Should we make a poll ?
>
> select(), poll(), epoll(), anyone? (SCNR)
>
> >Do we need to expose IDE master/slave, primary/secondary concepts in Linux?
> >
> AFAICS, we do. hda is always primary slave, etc. With the SCSI layer it's

Ehm, primary master and it is not true if you are using host drivers as modules.

Moreover providing ordering by IDE driver has been nightmare to maintain
and can't be done correctly for 100% weird cases.

> (surprisingly) the other way round, sda just happens to be the first disk
> inserted (SCA, USB, etc.)

Which is much saner approach from developers' POV.

Bartlomiej
-
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/