lkml.org 
[lkml]   [2005]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/cpuinfo format - arch dependent!
Lennart Sorensen wrote:
> On Tue, May 10, 2005 at 12:21:21AM -0700, Paul Jackson wrote:
>
>>Yes - it's all there. Sometimes the ways to discover it aren't pretty,
>>but that's one thing that libraries are good for - to wrap such detail.
>
>
> And then when the kernel adds something new, you update one library
> rather than 1000s of applications.
>
> Perhaps making it hard to get at without a certainl library is a good
> way to avoid too many applications poling at it just because they can.

The advantage of /proc is that it works from C, Java, Perl, Python, etc.
Oh, and humans, the reason all the application run.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-10 21:26    [from the cache]
©2003-2011 Jasper Spaans