RE: what is the difference between shutdown command and writing to /sys/power/state

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rafael J. Wysocki <rjw@...>
Cc: <linux-kernel@...>
Date: Thursday, September 20, 2007 - 2:11 pm

Can someone tell me the flow of code for these two scenarios -
I write disk to /sys/power/state. How does system go to hibernation? How
does this trigger ACPI driver functions?
I issue shutdown command.
I am using 2.6.18 kernel.

Thanks,
Lomesh

-----Original Message-----
From: linux-kernel-owner@vger.kernel.org
[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Rafael J.
Wysocki
Sent: Wednesday, September 19, 2007 5:09 PM
To: Agarwal, Lomesh
Cc: linux-kernel@vger.kernel.org
Subject: Re: what is the difference between shutdown command and writing
to /sys/power/state

On Wednesday, 19 September 2007 23:37, Agarwal, Lomesh wrote:

Please tell me what kernel version you're referring to.


Sorry, I have misunderstood your post (the "now" doesn't look as a part
of the
command).

Greetings,
Rafael


writing
-P
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: what is the difference between shutdown command and writ..., Rafael J. Wysocki, (Wed Sep 19, 5:34 pm)
Re: what is the difference between shutdown command and writ..., Rafael J. Wysocki, (Wed Sep 19, 8:09 pm)
RE: what is the difference between shutdown command and writ..., Agarwal, Lomesh, (Thu Sep 20, 2:11 pm)
Re: what is the difference between shutdown command and writ..., Rafael J. Wysocki, (Thu Sep 20, 4:25 pm)