Re: uspend to Disk - Kernel 2.6.4 vs. r50p

From: Grzegorz Piotr Jaskiewicz
Date: Mon May 03 2004 - 15:12:36 EST


Pavel Machek wrote:

A: Do reboot() syscall with right parameters. Warning: glibc gets in
its way, so check with strace:

reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, 0xd000fce2)

Ouch, and when you code that trivial program, send me source, I lost
mine.


Wouldn't it be better to just add place in proc that triggers it ?

--
GJ



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