Is there a way to see if an external USB hard drive is in sleep mode or not?
Distro is Ubuntu (if it matters although it shouldn't).
SMART is not available so that's not an option.
One way would be trying to do an "ls" on the mountpoint and see if it takes two-three seconds to do the listing (meaning that it's in sleep mode) or instantaneous which would show the opposite but I'm not sure after how long the USB drive is going in sleep mode (if it does)
Any thoughts on this?