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

From: Agarwal, Lomesh
Date: Wed Sep 19 2007 - 17:37:21 EST


Can you tell me the differences?
Also what do you mean by - depending also on what you mean by 'now'? I
gave now as a time parameter to shutdown command. How can it be
interpreted in a different way?

-----Original Message-----
From: Rafael J. Wysocki [mailto:rjw@xxxxxxx]
Sent: Wednesday, September 19, 2007 2:35 PM
To: Agarwal, Lomesh
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: what is the difference between shutdown command and writing
to /sys/power/state

On Wednesday, 19 September 2007 20:50, Agarwal, Lomesh wrote:
> Does linux handles writing "disk" to /sys/power/state and shutdown -P
> now differently (except writing to disk part)?

Yes, it does (depending also on what you mean by 'now').

Greetings,
Rafael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/