Re: [PATCH/rfc] schedule /sys/device/.../power for removal

From: Andrew Morton
Date: Fri May 12 2006 - 06:30:19 EST


Pavel Machek <pavel@xxxxxxx> wrote:
>
> On Pá 12-05-06 03:11:51, Andrew Morton wrote:
> > Pavel Machek <pavel@xxxxxx> wrote:
> > >
> > > It is very ugly, and we really should use names instead.
> > >
> > > Signed-off-by: Pavel Machek <pavel@xxxxxxx>
> > >
> > > diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/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.
> > >
> > > ---------------------------
> > >
> > > +What: /sys/device/.../power
> > > +When: July 2007
> > > +Files:
> > > +Why: Because it takes integers, and different userland applications
> > > + expect different numbers to mean different things.
> > > + (Pcmcia expect 2 for off, some other code expects 3 for off).
> > > +Who: Pavel Machek <pavel@xxxxxxx>
> > > +
> > > +---------------------------
> >
> > What will be impacted by this?
>
> 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 we
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.
-
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/