lkml.org 
[lkml]   [1998]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: /proc format: standard representation, parsing
Date
From
Lenart Gabor writes:
->I think both of the two methods can be usefull for some reasons.
->So it would be nice to give binary AND text /proc files. Binary versions
->can be smaller, and - for example - only one binary files would exist
->for a /proc directory entry or something similar.

That's broken idea. It is what ioctl's are for.
(remember, most of the entries in the proc, especially those under /proc/sys
are mapped to ioctls )

/proc -> humans, (perhaps a simple shell scripts)
ioctl -> programs.

so the first is text, the 2nd is equivalent to binary.

Adam


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

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.295 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site