Re: CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ]

From: Matthias Andree
Date: Sun Jan 29 2006 - 06:25:11 EST


Joerg Schilling schrieb am 2006-01-29:

> Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx> wrote:
>
> > I address this to everybody not only to Joerg:
> >
> > [*] As this is my thread now discussing SG_IO on /dev/hd* vs /dev/sg*
> > is BANNED. Please continue discussing this in the old thread. :-)
>
> If we also bann discussions that try to claim cdrecord -scanbus is
> unneeded or unwanted, no problem.

The real issue is that the Linux kernel support for -scanbus looks
different than your blueprints. Looks as though the most promising
approach is to tell libscg about it, as annoying though it may be.

> Well it is obvious that the numbers are present inside Linux, otherwise
> Linux could not return useful numbers in case that ide-scsi is used.
> Note that we are talking about SCSI devices (in case the actual user
> of libscg is cdrecord, we talk about CD/DVD writers).

CD/DVD writers wtih SCSI interface have nearly died out.

> If you read the Debian bug reports, you will find that many users are confused
> because cdrecord -scanbus will not list all possible devices.

That's what I believe to be cdrecord/libscg bugs:

1) libscg or cdrecord does not automatically probe all available
transports, but only SCSI:

2) libscg or cdrecord aborts ATA: scans as soon as one device probe
returns EPERM, which lets devices that resmgr made accessible
disappear from the list.

--
Matthias Andree
-
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/