Chuck Swiger cswiger at mac.com
Sat Jun 28 10:18:07 PDT 2003

Brett Glass wrote:
[ ... ]
> Ah... but you're not there at the exact moment when the power
> comes back on. (Maybe it was just a flicker and there was no
> UPS, or maybe the power company -- like ours -- is so slow to
> fix outages that the UPS battery was fully drained.)

Unattended restarts can more difficult, agreed.

> What's more, even if you CAN boot into single user mode and run 
> fsck, it can be frustrating. Sometimes a partition takes two
> or three passes to clean up. Sometimes fsck randomly refuses
> to work on one. It's a mess.

Most of the time-- and by that I mean more than 90% of the time-- the system is 
capable of fsck'ing itself automatically and without the need for human 
intervention.  This is more true for relatively quiet or read-only systems, and 
less true for systems which are very busy, have many writes pending, etc.

You might want to consider using a journalling filesystem instead, although you 
would have to switch platforms and pay for something like Veritas VxFS.

> Ideally, the system would handle the logistics. It's not as if
> powering down without shutting down is that rare of an 
> occurrence. (It eats holes in any system, and is responsible for
> gradual "bit rot" in both Windows machines and BSD machines.)

The following option for /etc/rc.conf may be of interest to you:


...it's not as safe as the default preen, but if your concern is to have the 
system "handle the logistics" without human intervention if at all possible, 
this might be want you want.


More information about the freebsd-questions mailing list