Douglas Gilbert wrote:
With 8 byte luns, max_lun is legacy. I found it a nuisance when I played with wluns (well known lus). Looks like you may be coping with that.
See the patch I just posted...
If you want to decode SAM-4 luns, perhaps for verbose error purposes, feel free to borrow code from the attached sg_luns (which is slightly more up to date than the one found in sg3_utils version 1.17).
If you're bored, feel free to contribute a better version of scsilun_to_str()... ;-)
Jeff - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html