lkml.org 
[lkml]   [1998]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: /proc format: standard representation, parsing
    On Wed, Oct 28, 1998 at 09:10:29AM -0500, Adam Sulmicki wrote:
    > 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 )

    Okey. In this case there're a few things which are not clear for me.
    For example changing /proc/pci (text file) will be changed to a much binary
    like architecture. So why don't you leave /proc/pci as text file and
    use ioclt()s in prgrams ? Following your description it would be nicer.

    Oh well, I'm (very) beginner in kernel hacking so please ignore my letter
    if I'm wrong. And sorry for my bad English :)

    - Gabor

    ---[ LGB/DC ]------------------[ root@hal2000 ]-----------------[ LINUX ]---
    "The truth is out there" "We're living together" "The future is dark."
    ---[ 88/422022-4602 ]--[ http://www.hal.vein.hu/~lgb ]------[ 87/477074 ]---

    -
    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:2.326 / U:3.544 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site