lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200705271506.45714.rjw@sisk.pl>
Date:	Sun, 27 May 2007 15:06:45 +0200
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	Bill Davidsen <davidsen@....com>
Cc:	Linux Kernel M/L <linux-kernel@...r.kernel.org>,
	Pavel Machek <pavel@....cz>
Subject: Re: Documentation on /sys/power/resume

On Sunday, 27 May 2007 14:53, Bill Davidsen wrote:
> 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.

Only suspend2 can do this right now.  The built-in swsusp can resume from a
swap file as long as it's not located on LVM.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ