Re: [PATCH RESEND] scsi: Export SCSI Inquiry data to sysfs

2015-11-09 Thread Martin K. Petersen
> "Johannes" == Johannes Thumshirn writes: Johannes> Export the RAW SCSI Inquiry to sysfs as binfile. This way the Johannes> data can be used by userland without the need to have and Johannes> ioctl or use the sg_inq tool. Applied. -- Martin K. Petersen Oracle

[PATCH RESEND] scsi: Export SCSI Inquiry data to sysfs

2015-11-09 Thread Johannes Thumshirn
Export the RAW SCSI Inquiry to sysfs as binfile. This way the data can be used by userland without the need to have and ioctl or use the sg_inq tool. Here is an example of the provided data linux:~ # hexdump /sys/class/scsi_device/1\:0\:0\:0/device/inquiry 000 8005 3205 001f 4551 554d

Re: [PATCH RESEND] scsi: Export SCSI Inquiry data to sysfs

2015-11-09 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH RESEND] scsi: Export SCSI Inquiry data to sysfs

2015-10-30 Thread Johannes Thumshirn
Export the RAW SCSI Inquiry to sysfs as binfile. This way the data can be used by userland without the need to have and ioctl or use the sg_inq tool. Here is an example of the provided data linux:~ # hexdump /sys/class/scsi_device/1\:0\:0\:0/device/inquiry 000 8005 3205 001f 4551 554d