lundi 20 juin 2016

How to get hard disk serial number using Python


How can I get the serial number of a hard disk drive using Python on Linux?

I would like to use a Python module to do that instead of running an external program such as hdparm. Perhaps using the fcntl module?


Aucun commentaire:

Enregistrer un commentaire