Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763116AbXISSus (ORCPT ); Wed, 19 Sep 2007 14:50:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753378AbXISSuk (ORCPT ); Wed, 19 Sep 2007 14:50:40 -0400 Received: from mga03.intel.com ([143.182.124.21]:60041 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751216AbXISSuj convert rfc822-to-8bit (ORCPT ); Wed, 19 Sep 2007 14:50:39 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.20,274,1186383600"; d="scan'208";a="282395377" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: what is the difference between shutdown command and writing to /sys/power/state Date: Wed, 19 Sep 2007 11:50:37 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: what is the difference between shutdown command and writing to /sys/power/state Thread-Index: Acf67ffjZkdeUiK0SHuSzeEPUcKCXw== From: "Agarwal, Lomesh" To: X-OriginalArrivalTime: 19 Sep 2007 18:50:38.0270 (UTC) FILETIME=[F84345E0:01C7FAED] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 656 Lines: 11 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/