domenica 28 aprile 2013

#iostoconcivati


martedì 9 aprile 2013

smartctl on a USB device

smartctl -t short /dev/sdb complains that the device must be specified: it is a portable USB hard disk from Samsung. I won't discuss here Samsung's choice to close the case in such a manner that the user has to tamper it if (s)he wants to connect directly to the SATA disk inside.
I just write here the way you can force smartctl to accept to do its duty:
smartctl -t short -d sat,12 /dev/sdb