Re: sysfs q [was: sysfs ugly timer interface]

Jan Engelhardt
2007-03-23T01:25:12Z

On Mar 22 2007 08:28, Greg KH wrote:
>>
>> > root@MAIN:/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@MAIN:/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, ..?

Jan
--