All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Linux Kernel M/L <linux-kernel@vger.kernel.org>,
	Pavel Machek <pavel@ucw.cz>
Subject: Re: Documentation on /sys/power/resume
Date: Sun, 27 May 2007 08:53:11 -0400	[thread overview]
Message-ID: <46597F37.5050107@tmr.com> (raw)
In-Reply-To: <200705271253.03396.rjw@sisk.pl>

Rafael J. Wysocki wrote:
> Hi,
> 
> On Sunday, 27 May 2007 01:51, Bill Davidsen wrote:
>> Not in the ABI doc, is there and doc at all, and if not could someone 
>> who knows where it's used might give me a hint, as a quick look didn't 
>> bring enlightenment. Or is it a future hook which doesn't work yet?
> 
> That's something that in theory may allow you to resume the system from
> and initrd script.
> 
> Basically, you write your resume device's major and minor numbers
> into it as the "MAJ:MIN" string (eg. "8:3" for /dev/sda3 on my box) and the
> kernel will try to read the image from this device and restore it.
> 
> It only works with partitions and the use of it us discouraged, so it's
> deliberately undocumented.
> 
Thanks, that's just different enough from what little info I had to make 
what I have not work. I'm looking at resume from a non-swap location.

-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

  reply	other threads:[~2007-05-27 12:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-26 23:51 Documentation on /sys/power/resume Bill Davidsen
2007-05-27 10:53 ` Rafael J. Wysocki
2007-05-27 12:53   ` Bill Davidsen [this message]
2007-05-27 13:06     ` Rafael J. Wysocki
2007-05-27 13:17       ` Bill Davidsen
2007-05-27 15:35         ` Matthew Garrett

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=46597F37.5050107@tmr.com \
    --to=davidsen@tmr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rjw@sisk.pl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.