Re: [linux-pm] [PATCH 0/6] [-mm]: ACPI: duplicate ACPI procfs functions in sysfs

Pavel Machek
2007-01-25T19:51:36Z

Hi!

> > > > > This patch set is against acpi-test sysfs branch which already converts
> > > > > ACPI to follow driver model. Now the ACPI procfs functions are
> > > > > duplicated in sysfs step by step. And I want the ACPI interface in sysfs
> > > > > works exactly the same way as in procfs.
> > > >
> > > > No, you can't port same broken interface into sysfs. Some /proc
> > > > interfaces are horrible, and we do not want to create _exactly same_
> > > > horrible interfaces in /sys.
> > >
> > > Please be specific.
> >
> > /proc/acpi/alarm is horrible mess, as was detailed in another email
>
> ditto /proc/acpi/wakeup, and all those empty /proc/acpi directories

Agreed, /proc/acpi/wakeup is unusable/strange/mess, too. I don't get
that many empty /proc/acpi directories, but I surely hope I'll not see
them in /sys.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html