From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH/rfc] schedule /sys/device/.../power for removal Date: Fri, 12 May 2006 03:27:02 -0700 Message-ID: <20060512032702.3591289f.akpm@osdl.org> References: <20060512100544.GA29010@elf.ucw.cz> <20060512031151.76a9d226.akpm@osdl.org> <20060512101916.GC28232@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20060512101916.GC28232@elf.ucw.cz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Pavel Machek Cc: linux-pm@lists.osdl.org, linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org Pavel Machek wrote: > > On P=E1 12-05-06 03:11:51, Andrew Morton wrote: > > Pavel Machek wrote: > > > > > > It is very ugly, and we really should use names instead. > > >=20 > > > Signed-off-by: Pavel Machek > > >=20 > > > diff --git a/Documentation/feature-removal-schedule.txt b/Documenta= tion/feature-removal-schedule.txt > > > index 421bcff..dfcfc47 100644 > > > --- a/Documentation/feature-removal-schedule.txt > > > +++ b/Documentation/feature-removal-schedule.txt > > > @@ -6,6 +6,16 @@ be removed from this file. > > > =20 > > > --------------------------- > > > =20 > > > +What: /sys/device/.../power > > > +When: July 2007 > > > +Files:=09 > > > +Why: Because it takes integers, and different userland application= s > > > + expect different numbers to mean different things. > > > + (Pcmcia expect 2 for off, some other code expects 3 for off). > > > +Who: Pavel Machek > > > + > > > +--------------------------- > >=20 > > What will be impacted by this? >=20 > Some obscure place PCMCIA utils, IIRC. There was one more user, but I > do not remember who it was. Plus there may be few people doing echo > manually. What will it be replaced with, and how will we communicate the need to migrate to the various application developers? We can't just rip it out next year and point at some obscure entry in a kernel file and say "but w= e told you". Some five-times-per-reboot printk which tells people they should be using /sys/device/.../whatever-it-will-be-called might be appropriate.