otakuto / crazydiskinfo

CrazyDiskInfo is an interactive TUI S.M.A.R.T viewer for Unix systems.
MIT License
305 stars 28 forks source link

Read info from USB disks #21

Open ChojinDSL opened 7 years ago

ChojinDSL commented 7 years ago

Hi, smartctl is able to read S.M.A.R.T info from sata disks connected via USB adapter.

Would be cool if crazydiskinfo could do the same.

hartwork commented 7 years ago

crazydiskinfo uses libatasmart which says in its readme:

libatasmart supports classic ATA/IDE disks (i.e. /dev/hda) as well as ATA disks that are connected through a SCSI layer (SAT) (such as a SATA /dev/sda).

USB disks generally don't support SAT and thus generally cannot be queried for S.M.A.R.T. data.

So crazydiskinfo would need to turn to something like smartmontools to support USB.