Re: [ACPI-sppt] swspnd doesn't recognise swap space automaticly

Greg Woods <[email protected]>
Newsgroups gmane.linux.acpi.support
Organization NCAR/SCD
Message-ID <1059078778.19325.149.camel@snowcrash>
On Thu, 2003-07-24 at 12:58, Micha Feigin wrote:
> when waking up from suspend acpi/swspnd doesn't recognise the sleep data
> signature automaticly in the swap space unless I add the
> resume=/dev/<swap device> line at boot.

The documentation for swsusp says that you must do this. Having a swap
declaration in /etc/fstab is not enough.  This is obvious if you think
about it for a minute. Before the kernel finishes waking up, how would
it have access to a file on the disk within a file system? The swsusp
code reads the disk in raw mode, it doesn't use a file system. The
kernel must be told at boot time to look for a suspend image.

--Greg




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.