jaypipes / ghw

Go HardWare discovery/inspection library
Apache License 2.0
1.62k stars 174 forks source link

Retrieve SCSI_IDENT_SERIAL info on block device #368

Open MahendiraBoopathi opened 3 months ago

MahendiraBoopathi commented 3 months ago

currently ghw.Block() provides some details but is it possible to add SCSI_IDENT_SERIAL info retrieve vendor block storage serial number in addition to ID_VENDOR which gives type of storage device ?

ffromani commented 3 months ago

Hi! Since 4b657ba18602eb5abb99a3fe68ee7253c9445fac we aligned our behavior with what lsblk does. Is this good enough or there are issues with the current approach? if so, could you please elaborate them?