Re: Patrick's Test9 suspend code.

Pavel Machek
2003-11-21T00:05:34Z

Hi!

> > B) A heuristic that looks at the mounted block devices for things that smell
> > like a resume partition would actually be more robust in that case.
>
> How about a static signature followed by a timestamp? That way, maybe we could
> have a resume menu like this:
>
> /dev/hda3 (kernel 2.7.88, suspended on 01-04-2004 20:00:00)
> /dev/hda4 (kernel 2.8.99, suspended on 31-05-2005 20:00:00) ***
> Resume in 5..4..3..2..1..
>
> with a 5 second countdown before it chooses the most recent? Or in Pavel's
> examples:
>
> Erk! Nowhere to resume from!

If you select hda3 at this point, bye bye your data.

Pavel
PS: And I mean it. This is not just your average "few more files in
lost+found" kind of corruption.
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]