[ltp] What's the difference? "echo -n mem > /sys/power/state"
or
André Wyrwa
linux-thinkpad@linux-thinkpad.org
Tue, 15 Mar 2005 19:55:43 +0100
--=-OQZaq/TUJVFyymeOoEn8
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
On Di, 2005-03-15 at 00:58 +0100, Tino Keitel wrote:
> On Tue, Mar 15, 2005 at 01:29:23 +0200, Jean Jordaan wrote:
> > Hi Konstantin
> >=20
> > >there are no. It's left from 2 old implementations, which were
> > >different.
> >=20
> > Ah, thanks for the info! I like the 'echo "mem"' idiom, "3" doesn't
> > look like it means "memory" to me.
>=20
> 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.
Plus "mem" consists of three letters and "disk" of 4. Quite logical. ;-)
Andr=E9.
--=-OQZaq/TUJVFyymeOoEn8
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQBCNy+vEOp8fsnyxsQRAo3UAJwN2zxA35GZfflSmkRPjsqi8pQk4ACgz2Xm
EBciF2e/vILhCnl1gjkVAWU=
=s4xd
-----END PGP SIGNATURE-----
--=-OQZaq/TUJVFyymeOoEn8--