[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070323044823.GA8881@kroah.com>
Date: Thu, 22 Mar 2007 21:48:23 -0700
From: Greg KH <greg@...ah.com>
To: Jan Engelhardt <jengelh@...ux01.gwdg.de>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: sysfs q [was: sysfs ugly timer interface]
On Fri, Mar 23, 2007 at 02:24:46AM +0100, Jan Engelhardt wrote:
>
> On Mar 22 2007 08:28, Greg KH wrote:
> >>
> >> > root@...N:/home/maxim# cat /sys/devices/system/clockevents/clockevents0/registered
> >> > lapic F:0007 M:3(periodic) C: 1
> >> > hpet F:0003 M:1(shutdown) C: 0
> >> > lapic F:0007 M:3(periodic) C: 0
> >> > root@...N:/home/maxim#
> >>
> >> Now... this file needs to die, before 2.6.21 is released. It tries to
> >> bring /proc-like parsing nightmare to sysfs. Kill it before it becomes
> >> part of stable ABI!
> >
> >Eeek!
>
> Question regarding sysfs files: How would you do something like
> /proc/net/nf_conntrack with sysfs? Have directories named like 0000,
> 0001, 0002, ..?
I don't know, I've never said that _all_ proc files can move to sysfs.
For some things, like possibly the netfilter stuff, proc files make more
sense.
Were you thinking of moving this file to sysfs? What does the
information in it represent?
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists