On 8/14/22 14:07, Douglas Gilbert wrote:
How about lsscsi ?
# lsscsi
[0:0:0:0] disk Linux scsi_debug 0191 /dev/sda
[1:0:0:0] disk Linux scsi_debug 0191 /dev/sdb
[2:0:0:0] disk Linux scsi_debug 0191 /dev/sdc
[N:0:1:1] disk SKHynix_HFS512GDE9X081N__1
/dev/nvme0n1
I plan to add JSON output to lsscsi in the near future.
Hi Doug,
It was not clear to me whether or not Avri needs to retrieve the version
information on an Android system. Neither /proc/scsi nor lsscsi are
available on recent Android systems. I will see whether I can include
the sg3_utils package in Android.
Thanks,
Bart.