[B.A.T.M.A.N.] [PATCH 13/26] staging:batman-adv: convert multiple /proc files to use sysfs
lindner_marek at yahoo.de
Thu May 13 01:25:51 CEST 2010
On Thursday 13 May 2010 01:38:30 Greg KH wrote:
> Well, it is simple to enable configfs if you need/want batman, right?
> It's not that much extra kernel code.
If you have 4MB flash for the bootloader, bootloader config, kernel, user space
and some data you don't want to add another filesystem just for batman.
As hardware development moves on, I defintely see more flexibility regarding
> > following values:
> > 1 - originator
> > 2 - TQ (transmit quality) value of originator
> > 3 - best next hop towards originator
> > 4 - outgoing iface to reach best next hop
> > 5 - list of alternative best next hops
> Sorry, but sysfs is for "one value per file" attributes, which this one
Actually, this is a good example for our confusion. For this table I used
Documentation/ABI/testing/sysfs-block as an example. The very first entry looks
exactly like ours ...
Thanks for your quick feedback!
More information about the B.A.T.M.A.N