Open wenchao-hao opened 3 years ago
Thanks, your patch is correct and will be included. At some point an extra digit was added to the identify ('3' in this case meaning NAA) and that pushed the rightmost (lowest) digit off the end of the string. I'm looking at some related issues. A new version will be uploaded soon.
The fix proposed on 20210608 has been applied upstream and is reflected in the code in this repository. [Hence the "conflicting files" indication above.] Could you be a bit clearer on what the problem you are seeing? Perhaps with an example.
current lsscsi -w output the wrong wwn id like following $ lsscsi -w [3:0:0:2] disk LIO-ORG disk2 4.0 0x36001405a7da98a3af35412a96c5576a /dev/sdc
the correct id should be $ udevadm info --export-db | grep WWN E: ID_WWN=0x6001405a7da98a3a E: ID_WWN_VENDOR_EXTENSION=0xf35412a96c5576a2 E: ID_WWN_WITH_EXTENSION=0x6001405a7da98a3af35412a96c5576a2