Hi,

On Friday, 2 February 2007 12:20, Tim Dijkstra wrote:
> Hi,
> 
> Could someone please tell me what (stable) kernels have support for:
> 
> a) Suspend/Resume with swap files

Should be in 2.6.19 and later.

> b) Platform mode instead

I'm not sure what you mean here ...

> And is there a easy way to test for swap file support, some /sys entry
> perhaps?

At run time you can check if the SNAPSHOT_SET_SWAP_AREA ioctl is present
(ie. open /dev/snapshot and try to call the ioctl from it).

If you have the source, check if there's
Documentation/power/swsusp-and-swap-files.txt

Greetings,
Rafael


-- 
If you don't have the time to read,
you don't have the time or the tools to write.
                - Stephen King

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to