How can one make a Linux-based device to reboot once its rootfs gets unavailable?
There is software watchdog available only.
The problem is that rootfs gets mounted from NFS. When I stop the NFS server, the device gets blocked. I want it to get rebooted though.
How can I achieve this?
I.e: there is a problematic rootfs, is there anything on the kernel level that can reset the whole system? I don't care of open/corrupted files and resources.
Note: I don't have the kernel sources for this architecture. The device is headless, no monitor or keyboard is attached.
There is a root console with agetty (defined in /etc/inittab).