login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Wednesday, September 19, 2007 - 2:50 pm

Does linux handles writing "disk" to /sys/power/state and shutdown -P
now differently (except writing to disk part)? I have a Xen system and
if I try both (in dom0 which is linux) then writing "disk" powers off
the system while issuing shutdown command halts the system but the
system is still power on. Dom0 is using ramdisk so writing "disk" to
/sys/power/state should essentially be same as shutdown command.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
what is the difference between shutdown command and writing ..., Agarwal, Lomesh, (Wed Sep 19, 2:50 pm)
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..., Rafael J. Wysocki, (Thu Sep 20, 4:25 pm)
speck-geostationary