[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [rtl] RT-Linux instrument control: Reboot/fsck question
>From: Bill Blackwell <bill@mesa.mit.edu>
> ...
>a) Is there a good way to make the filesystem more robust with regard
>to spurious reboots? A sync option when I mount / perhaps?
An "Uninterruptable" Power Supply (UPS) provides battery power to systems
for a limited time when the wall socket fails. Many have
an alarm which can be fed to the OS. Under Linux, this allows the
machine to tidy-up and run shutdown. You might want to check-out:
http://sunsite.unc.edu/pub/Linux/docs/HOWTO/UPS-HOWTO
Also, i think some folks are trying to resolve the problem with filesystem
structure. I don't have any info, but if you see some, please send it
my way.
>b) Is there a way to get fsck to run non-interactively EVEN when it
>finds errors?
A program called expect was written by Don Libes an NIST to address
your problem. expect is built on TCL and TK, and provides a wonderful
capacity to automate interaction with programs which demand to talk to
a human. Further info can be had at:
expect.nist.gov
Paul Murray
pcm@ptd.net
--- [rtl] ---
For more information on Real-Time Linux see:
http://rtlinux.cs.nmt.edu/