mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: dean gaudet <dean@arctic.org>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] off-by-1 in kernel/power/main.c
Date: Mon, 24 Apr 2006 09:57:25 +0200	[thread overview]
Message-ID: <20060424075725.GB26345@elf.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.64.0604231958020.22072@twinlark.arctic.org>


> > Valid way to power off machine is by shutdown -o now, and there's a
> > syscall to do that. It should not be done by /sys/power/state.
> 
> hey... my shutdown doesn't have a -o option... where can i find that?

Not sure where I got it, because _my_ shutdown does not have -o,
either. Sorry. It has 

       -P     Halt action is to turn off the power.

however. Plus there's a syscall you can use...
								Pavel
-- 
Thanks for all the (sleeping) penguins.

  parent reply	other threads:[~2006-04-24  7:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-22  4:05 dean gaudet
2006-04-22 21:37 ` Pavel Machek
     [not found]   ` <Pine.LNX.4.64.0604231958020.22072@twinlark.arctic.org>
2006-04-24  7:57     ` Pavel Machek [this message]
2006-04-25 21:38       ` dean gaudet
2006-04-25 21:46         ` 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=20060424075725.GB26345@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=dean@arctic.org \
    --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

all inboxes | Powered by JetHome®