[ltp] What's the difference? "echo -n mem > /sys/power/state" or

Tino Keitel linux-thinkpad@linux-thinkpad.org
Tue, 15 Mar 2005 00:58:48 +0100


On Tue, Mar 15, 2005 at 01:29:23 +0200, Jean Jordaan wrote:
> Hi Konstantin
> 
> >there are no. It's left from 2 old implementations, which were
> >different.
> 
> Ah, thanks for the info! I like the 'echo "mem"' idiom, "3" doesn't
> look like it means "memory" to me.

The 3 means "ACPI S3", which is suspend to RAM. 4 would be suspend to
disk. See Documentation/power/swsusp.txt in the kernel source.

Regards,
Tino