lkml.org 
[lkml]   [2001]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: Linux should better cope with power failure

Guy,

I wrote APCUPSD beginning back in 95/96 for this reason.
American Power Conversion is now friendly to Linux.

http://www.linux-ide.org/apcupsd.html

Cheers,

On Mon, 19 Mar 2001, Stephen Satchell wrote:

> At 01:16 PM 3/19/01 -0800, Torrey Hoffman wrote:
> >Yes. Some of this is your responsibility. You have several options:
> >1. Get a UPS. That would not have helped your particular problem,
> > but it's a good idea if you care about data integrity.
> >2. Use a journaling file system. These are much more tolerant of
> > abuse. Reiserfs seems to work for me on embedded systems I am
> > building where the user can (and does) remove the power any time.
> >3. Use RAID. Hard drives are very cheap and software raid is very
> > easy to set up.
>
> Sorry, but you really should have read the ENTIRE thread before
> commenting. This guy's original complaint was that his USB keyboard locks
> up, and the only way to get it back is to do a very rude restart. In
> combatting this problem, the guy was observing the "shortcomings" of the
> file system.
>
> To be more to the point of the guy's problem, he should consider using
> software specifically intended for UPS hardware to notify a system when the
> power is going to go, and wire up an appropriate switch to signal his
> system to enter shutdown when his keyboard goes south. By forcing an
> orderly shutdown, he doesn't see the fsck-ing messages, he gets his USB
> keyboard back, and all is well with the world.
>
> Of course, the other option is to use a regular keyboard instead of a USB
> keyboard, but why point out the really easy solution? "Hey Doc, it hurts
> when I do this." "Then don't do it."
>
> Satch
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

Andre Hedrick
Linux ATA Development
ASL Kernel Development
-----------------------------------------------------------------------------
ASL, Inc. Toll free: 1-877-ASL-3535
1757 Houret Court Fax: 1-408-941-2071
Milpitas, CA 95035 Web: www.aslab.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.062 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site