lkml.org 
[lkml]   [2006]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] namespaces: uts_ns: make information visible via /proc/PID/uts directory
    Andrew Morton wrote:

    >Sam Vilain <sam@vilain.net> wrote:
    >
    >
    >>Export the UTS information to a per-process directory /proc/PID/uts,
    >> that has individual nodes for hostname, ostype, etc - similar to
    >> those in /proc/sys/kernel
    >>
    >>
    >umm, why?
    >
    >

    Er, for the same reason we have /proc/PID/mounts ?

    >> This duplicates the approach used for /proc/PID/attr, which involves a
    >> lot of duplication of similar functions. Much room for maintenance
    >> optimisation of both implementations remains.
    >> fs/proc/base.c | 236 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    >>
    >ouch.
    >
    >

    Also yow. Refer above gross understatement.

    Sam.

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

    \
     
     \ /
      Last update: 2006-05-22 23:34    [W:0.021 / U:1.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site