Here is a little perlscript from this thread
http://forum.ubuntuusers.de/topic/einige-minuten-nach-systemstart-kein-
zugriff-/, that's writes a Logfile every minute on the disk. Not very
beautiful but helpful:
#!/usr/bin/perl -w
$file = "/media/festplattenname/nosleep_log.txt";
$alive = 1;
while ($alive){
$timeout = localtime(time);
if (open(FILECHECK,'>',$file)) {
print FILECHECK "USB HD no sleep script log file\n";
print FILECHECK "last check: ",$timeout;
}
else{
$alive = 0;
}
close FILECHECK;
sleep(60);
}
--
USB-Harddisk resets after about 30 minutes
https://bugs.launchpad.net/bugs/474823
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs