Re: [IDEA] Poor man's UPS

From: Dave Jones
Date: Sun May 21 2006 - 15:37:25 EST


On Sun, May 21, 2006 at 09:31:30PM +0200, Pau Garcia i Quiles wrote:

> A short description would be "continuous system hibernation". Say you are
> running Firefox, writing an e-mail in mutt and compiling the next X.org
> release. The power goes off, your computer crashes or something happens and
> you lose everything you were doing (yes, sadly you haved saved your e-mail as
> a draft yet).
>
> The "continuous hibernation" is some kind of memory snapshots taken, say,
> every 5 minutes. The next time your system starts after a crash, it'd say "oh
> oh, looks like something went wrong" and offer you a list of the last N (for
> instance, 4) snapshots and you can recover your system to the very same state
> it was before power went off or your dog unplugged your CPU. It might even
> ask you which individual applications you want to start from that snapshot:
> maybe you don't want to start Quake 3.
>
> Provided the implementation is fast enough and you have a large hard drive, it
> might even allow you to say: "I want to restore the system to the same stage
> it had on Monday, 11.04PM"
>
> That's it. Please, shoot at the idea not at the idealist :-)

One problem is that the on-disk state may not match the state
of the running programs on resume, which could lead to all sorts
of bad things happening.

Dave


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