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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux