I had (a modified) noflushd working fine with two
external FireWire disks under 2.4.25. When running
2.6.x I noticed that noflushd complained about "No
entry for (x,y) although the devices were properly
attached as SCSI disks with 8/y major/minor numbers. So
I looked through the source and found that both
disk_stat.c:update_io_25 only scan for diskstat lines
with devices named hdxx; since the FireWire pseudo-SCSI
devices are named sda, sdb etc. they are not found and
cannot be spun down.
As a quick fix I changed the scanning format string to
"sdxx" and - as if by magic! - the drives are being put
to sleep (and properly woken up again ;-)
It would be nice if noflushd would recognize not only
"hd"-device names by default when using 2.5-new style
statistics, especially since they are already found in
the device list.
Thanks for noflushd!
Log in to post a comment.