Re: Documentation on /sys/power/resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rafael J. Wysocki wrote:
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.
Sounds like sispend2 is still needed, I haven't needed a suspending kernel in a few years, and I was hoping that with suspend working in mainline that resume would have been implemented. Sounds as if that's not the case, my swap is RAID1, I was hoping to resume from one of the mirrors, since they are based on a partition. No joy wit or without /sys/power/resume, so I'll look further.

--
bill davidsen <[email protected]>
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux