On Sun, 2013-03-10 at 02:58 +0100, Ralf Mardorf wrote:
#!/bin/sh
# /usr/local/sbin/no-spind
count=0
echo 0 >/run/media/rocketmouse/u1.1tmp/.no-spind.counter
while lsusb -d 1058: >/dev/null; do
sleep 300; ((count++))
echo $count >/run/media/rocketmouse/u1.1tmp/.no-spind.counter
done
exit
This does work as expected, I just wonder if here's the need to spin
down the drive from time to time, since it's plastic-covered, it perhaps
could become too hot. It's just a little bit warm at the moment, not
hot, IMO there is no risk of overheating.