Sample Header Ad - 728x90

can we automatically wait the required time for smartmontools/smartctl?

1 vote
3 answers
1475 views
Can we do something like this in a script (preferably zsh): smartctl -t long /dev/sda smartctl -t long /dev/sdb smartctl -t long /dev/sdc [Wait however long smartctl needs] smartctl -H /dev/sda smartctl -H /dev/sdb smartctl -H /dev/sdc As is obvious I'm just trying to automate this.
Asked by Ray Andrews (2615 rep)
Aug 8, 2017, 12:37 AM
Last activity: Nov 9, 2024, 11:05 AM