Linux systems sometimes remount the root file system as read-only, e.g. if there's an I/O error.
I have a machine that becomes useless when this happens, and I end up rebooting it manually.
Is there a way to make Linux just automatically reboot when this happens? A read-only mount is useless to me.