The obvious one is to make the new /proc/net/dev a *directory* with
one file per device, and do the same for each other /proc file like
this.
The only disadvantage of this is that the stats from each file will be
read at slightly different times, and therefore won't be completely
consistent. I don't necessarily think this is a disadvantage, though.
As another poster mentioned, we *do* need to create a more sensible
directory structure for /proc files, as well as mandate what
information should be provided for each type of device, etc.
Currently different drivers provide wildly varying /proc information.
Moves to export more tunable kernel parameters as /proc entries seem
to have stalled in 2.1.x too -- we probably want to revisit this.
-Matt Brown