Messages in this thread | | | Date | Fri, 06 Aug 2004 22:11:01 -0400 | From | Mark Lord <> | Subject | Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices |
| |
>>> The CAM interface (which is from the SCSI standards group) >>> usually is implemeted in a way that applications open /dev/cam and >>> later supply bus, target and lun in order to get connected >>> to any device on the system that talks SCSI.
This would be great!
I'm currently fussing about how my new RAID driver (hardware assisted) can expose it's member drives in such a way as for the userspace RAID management s/w to be able to find them.
The driver only sees channel:device:lun, whereas in userspace there's no tidy way to convert that to a major:minor pair.
I figure this cannot be the only situation where this is a problem. We're hoping to resolve it all with the scsidev utility, which is basically a kludge to work around a very inconventient API from the kernel. Having a /dev/cam interface as described above would certainly help here.
What other ways to do this should I be looking at? (common to both 2.4.xx and 2.6.xx ??) -- Mark Lord (hdparm keeper & the original "Linux IDE Guy") - 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/
| |