[Devel] Re: [PATCH] namespaces: uts_ns: make information visible via /proc/PID/uts directory
Sam Vilain
sam at vilain.net
Mon May 22 14:31:26 PDT 2006
Andrew Morton wrote:
>Sam Vilain <sam at 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.
More information about the Devel
mailing list