Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Python bindings for the libatasmart library
Follows the same model adopted by the original library (i.e. functions like getPowerOn(disk) instead of disk.getPowerOn() )
To install run:
python setup.py build
sudo python setup.py install
Examples: (Run as root)
from pyATASmart.c import *
disk=diskOpen('/dev/sda') #Creates a new disk object
print smartIsAvailable(disk)
print smartStatus(disk)
print getPowerOn(disk)