Interesting script. I'll dig through it a bit later on this evening. As per your concerns, if a file were removed it would not cause a reboot. Instead, the open would fail and it would try the next file. I will be adding a test to ensure that it is a file, but even in the case that it is a directory, the sysread will return EISDIR instead of EIO and would just sleep for 15 seconds and try the next file.
In reply to Re^2: I/O Watchdog Daemon
by IdleResonance
in thread I/O Watchdog Daemon
by IdleResonance
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |