From: Rob Landley <rob@landley.net>
To: Shaheed <srhaque@iee.org>, linux-kernel@vger.kernel.org
Subject: Re: Patrick's Test9 suspend code.
Date: Thu, 20 Nov 2003 13:39:45 -0600 [thread overview]
Message-ID: <200311201339.45461.rob@landley.net> (raw)
In-Reply-To: <200311201726.48097.srhaque@iee.org>
On Thursday 20 November 2003 11:26, Shaheed wrote:
> > 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!
>
> :-)
When resuming from a writeable filesystem, the filesystem has to match the
contents of suspended memory. If you've TOUCHED the filesystem since
suspending, the resume is going to shred it, cross-link the heck out of it,
and generally be evil. (There are open filehandles saved in there, page
table entries to maped stuff... Just don't go there.)
Rob
next prev parent reply other threads:[~2003-11-20 19:49 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-20 17:26 Patrick's Test9 suspend code Shaheed
2003-11-20 19:39 ` Rob Landley [this message]
2003-11-20 22:33 ` Shaheed
2003-11-20 22:41 ` Nigel Cunningham
2003-11-20 23:02 ` Shaheed
2003-11-21 6:46 ` Rob Landley
2003-11-21 20:09 ` Nigel Cunningham
2003-11-21 0:06 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2003-11-19 13:15 Samium Gromoff
2003-11-19 19:06 ` Pavel Machek
2003-11-09 10:04 Rob Landley
2003-11-13 13:08 ` Pavel Machek
2003-11-16 0:30 ` Rob Landley
2003-11-16 13:13 ` Pavel Machek
2003-11-17 2:38 ` Rob Landley
2003-11-17 8:42 ` Pavel Machek
2003-11-17 16:45 ` Patrick Mochel
2003-11-17 21:11 ` Rob Landley
2003-11-18 12:02 ` Rob Landley
2003-11-18 18:22 ` Pavel Machek
2003-11-18 22:12 ` Rob Landley
2003-11-18 23:21 ` Pavel Machek
2003-11-19 5:26 ` Rob Landley
2003-11-19 9:18 ` Pavel Machek
2003-11-19 9:41 ` Rob Landley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200311201339.45461.rob@landley.net \
--to=rob@landley.net \
--cc=linux-kernel@vger.kernel.org \
--cc=srhaque@iee.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox