How to guarantee booting without manual intervention on an OpenBSD router
Hi everyone,
I have an OpenBSD 5.8 running on an alix apu1.d that operates as a router. Since this system is going to eventually be reset at some moment accidentally without properly unmounting its file systems, which means that, when booting, there is a possibility where automatic file system check won't be enough and fsck will have to run manually, I was wondering what the best way would be to manage such a situation.
At the moment, I thought of editing fstab to disable fsck for all file systems. The truth is that the only file systems that may be written when on operation is /var/log and /tmp (or /var/tmp as well), so boot wise I could just disable file system checks on these two file systems, but we'll discuss that if this solution is acceptable. So, is this method "safe" (since I don't care if I lose any newly written information in this machine) or will I end up with a non usable system? And if so, what would be the best solution that could allow for a system to "always" boot without leaving a chance of having to run fsck manually?
Thanks for your time and answers in advance!
|