Messages in this thread | | | Subject | Re: /proc format: standard representation, parsing | Date | Wed, 28 Oct 1998 09:10:29 -0500 | From | Adam Sulmicki <> |
| |
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/
| |