From: Pavel Machek Subject: Re: [PATCH] introduce /sys/power/disk_powerdown_mode Date: Wed, 21 Mar 2007 23:08:58 +0100 Message-ID: <20070321220858.GE6057@elf.ucw.cz> References: <1174468981.3769.8.camel@johannes.berg> <1174482773.4230.19.camel@johannes.berg> <20070321131709.GA5788@elf.ucw.cz> <200703211501.37164.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <200703211501.37164.rjw@sisk.pl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: "Rafael J. Wysocki" Cc: Suspend-devel list , linux-pm@lists.linux-foundation.org, linux-pm , Johannes Berg , seife@novell.com List-Id: linux-pm@vger.kernel.org Hi! > > > > > > Does it really need to be this complex? Maybe we can disply cha= nge > > > > > > /sys/power/disk format? Is the change required at all? > > > > > = > > > > > Dunno. Does anything ever read it? Maybe the whole change isn't > > > > > necessary since this thing exists only as a hack for ACPI anyway,= but if > > > > > anybody starts using it with an actual choice being able to see t= he > > > > > choices would imho be useful. > > > > = > > > > I believe we can just show the list of choices, without changing the > > > > name. > > > = > > > Ok, I can simplify the patch down to that, the only thing about that = is > > > that it breaks userspace ABI. Dunno how people react to that with > > > suspend though :) > > = > > I do not know... maybe you can just ask akpm first. I believe we can > > do that. > = > I agree, but _all_ of the doocumentation will have to be updated in the s= ame > patch (or patch series), IMHO. Yep. (Stefan, we are talking about changing /sys/power/disk during _read_ so it shows list of available options as well as current one. I do not expect that to break anything, but... if I'm wrong, just shout). Pavel -- = (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html