From: Pavel Machek <pavel@ucw.cz>
To: Grzegorz Piotr Jaskiewicz <gj@pointblue.com.pl>
Cc: Hamie <hamish@travellingkiwi.com>, linux-kernel@vger.kernel.org
Subject: Re: uspend to Disk - Kernel 2.6.4 vs. r50p
Date: Mon, 3 May 2004 22:09:19 +0200 [thread overview]
Message-ID: <20040503200919.GA19306@elf.ucw.cz> (raw)
In-Reply-To: <4096A697.2020707@pointblue.com.pl>
Hi!
> >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 ?
I'm not going to add *another* place in /proc. Plus, shutdown -z on
modern distributions should work too.
Pavel
--
934a471f20d6580d5aad759bf0d97ddc
next prev parent reply other threads:[~2004-05-03 20:10 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-29 6:41 uspend to Disk - Kernel 2.6.4 vs. r50p Hamie
2004-05-03 12:31 ` Pavel Machek
2004-05-03 14:56 ` Grzegorz Piotr Jaskiewicz
2004-05-03 19:29 ` Pavel Machek
2004-05-03 20:07 ` Grzegorz Piotr Jaskiewicz
2004-05-03 20:09 ` Pavel Machek [this message]
2004-05-04 20:55 ` Peter Osterlund
2004-05-05 1:18 ` Rob Landley
2004-05-06 15:43 ` Romano Giannetti
2004-05-06 16:22 ` Rob Landley
2004-05-08 22:54 ` Pavel Machek
2004-05-09 4:31 ` Rob Landley
2004-05-09 21:49 ` Pavel Machek
2004-05-11 17:49 ` Rob Landley
2004-05-09 22:31 ` Nigel Cunningham
2004-05-09 22:43 ` Pavel Machek
2004-05-09 22:48 ` Pavel Machek
2004-05-09 22:50 ` Nigel Cunningham
2004-05-09 22:51 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040503200919.GA19306@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=gj@pointblue.com.pl \
--cc=hamish@travellingkiwi.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox