Actually, you have to use sg for a disc as well since you send a scsi CDB
directly to the device for inquiry page 0x83.
> That's the second piece of information that /proc/scsi/map provides.
Oh no question. The way the current code doing this works is that it opens
all scsi devices and issues a GET_IDLUN to compile a database of the nodes and
then matches them up to sg nodes.
James
-
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/