[lkml]   [2005]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Why no XML in the Kernel?
    James Courtier-Dutton wrote:

    > I have a requirement to pass information from the kernel to user space.
    > The information is passed fairly rarely, but over time extra parameters
    > are added. At the moment we just use a struct, but that means that the
    > kernel and the userspace app have to both keep in step. If something
    > like XML was used, we could implement new parameters in the kernel, and
    > the user space could just ignore them, until the user space is upgraded.
    > XML would initially seem a good idea for this, but are there any methods
    > currently used in the kernel that could handle these parameter changes
    > over time.
    > For example, should the sysfs be used for this?
    > Any comments?

    Yes use sysfs (or procfs if the information is related to a process).
    Using ASCII text representation, and a single value per file is
    noramlly the preferred method to do this I think.


    SUSE Labs, Novell Inc.

    Send instant messages to your online friends

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-10-02 12:38    [W:0.047 / U:14.568 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site