lkml.org 
[lkml]   [2000]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: /proc & xml data
From
Date
Joe <joeja@mindspring.com> writes:

> I remember hearing about various debates about the /proc structure. I
> was wondering if anyone had ever considered storing some of the data in
> xml format rather than its current format? Things like /proc/meminfo
> and cpuinfo may work good in this format as then it would be easy to
> write a generic xml parser that could then be used to parse any of the
> data. "MemTotal: %8lu kB\n"
>
> In the case of the meminfo it would be a matter of changing the lines in
> fs/proc/array.c function get_meminfo(char * buffer) from
>
> "MemTotal: %8lu kB\n"
>
> to something like
>
> "<memtotal>%8lu kB</memtotal>\n"

The general consensus is that if we have a major reorganization, in proc
the rule will be one value per file. And let directories do the grouping.

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

\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.266 / U:8.180 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site