[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] RT-Linux instrument control: Reboot/fsck question



Bill Blackwell wrote:
> 
> a)  Is there a good way to make the filesystem more robust with regard
> to spurious reboots?  A sync option when I mount / perhaps?

You might try adding the "sync" option to the /etc/fstab entry for / :

   /dev/hda2       /      ext2   defaults,sync 1 1

This should cause all writes to done immediately (except when RT
stuff is going on, presumably).

> b)  Is there a way to get fsck to run non-interactively EVEN when it
> finds errors?

e2fsck supports a "-p" option for this, but I still suggest using
the sync option.  On a RedHat system, /etc/rc.d/rc.sysinit contains
the fsck commands, so you might hack it in there.

Regards,
-Jamie
--- [rtl] ---
For more information on Real-Time Linux see:
http://rtlinux.cs.nmt.edu/