Linus Torvalds writes: (Summary) wrote:
I don't disagree in theory, and I used to enthusiastically support the "let's make one value per file" model.
"let's make one value per file" model.
But in practice it's a pain, and I no longer really think it's viable except for debugging.
except for debugging.
As an example, I can do
As an example, I can do
[...]
cat /proc/cpu/0/infoI don't disagree in theory, and I used to enthusiastically support the "let's make one value per file" model.
"let's make one value per file" model.
But in practice it's a pain, and I no longer really think it's viable except for debugging.
except for debugging.
As an example, I can do
As an example, I can do
cat /proc/cpuinfo | In fact, I think the current patch for CPU MHz shows exactly why /proc/cpuinfo is actually hugely superior to the crazy "one file per cpu" model: we could gather the statistics in parallel, all together, and make it be reasonable.