Skip to content
Advertisement

python library to access low-level detail of drive (SMART, scsi generic, ata security, etc) [closed]

Is there any python library to access low-level disk details?

I need:

  • SMART attributes
  • Serial number
  • Firmware version
  • SATA Phy counters
  • SMART Extended Self-test log records
  • Enclosure/letter/sg-device mapping
  • ATA Security command access
  • SCSI generic access (sg_inq, sg_format, etc)

Any ideas, outside of parsing output of smartctl, hdparm and sg3-utils?

Thanks!

Advertisement

Answer

I dont know if this is of any help but you might get some of the point you mentioned done with it thought

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement