My HDD spindown script finally received a major overhaul, making it single-threaded, more precise in regard of effective timout span and configurable via rc-like file.
It also detects SMART self-tests now and omits standby in such cases, avoiding to delay them.
Being more elaborate now it has been moved to its own
repository and includes a
Makefile as well as a
.service unit for systemd integration. Finally,
I have put up a package in AUR
for easy usage on Arch.