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

From: Robert Hancock
Date: Thu Jan 26 2006 - 21:25:03 EST


Joerg Schilling wrote:
People like to run cdrecord -scanbus in order to find a list of usable devices.
People like to see all SCSI devices in a single name space as they are all using the same protocol for communication.

Except that the majority of CD writers today are NOT SCSI devices. They may use the MMC command set from SCSI for interface purposes, but they are on an ATA or USB bus. cdrecord tries to fabricate some kind of device numbering assigning SCSI-like bus and LUN numbers for the devices when such a numbering has no basis in any kind of reality.

We have all SCSI devices in a single namespace, that is what /dev is for. That is the name that the system/kernel provides for applications to use, and that is what the application should use, not some kind of bizarre invented numbering scheme built on top of that.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

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