OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] namespaces: uts_ns: make information visible via /proc/PID/uts directory
Re: [PATCH] namespaces: uts_ns: make information visible via /proc/PID/uts directory [message #3326 is a reply to message #3310] Mon, 22 May 2006 21:31 Go to previous messageGo to previous message
Sam Vilain is currently offline  Sam Vilain
Messages: 73
Registered: February 2006
Member
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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 0/9] namespaces: Introduction
Next Topic: [PATCH 1/3] proc: sysctl: rename proc_doutsstring to proc_do_uts_string
Goto Forum:
  


Current Time: Thu Aug 15 05:27:10 GMT 2024

Total time taken to generate the page: 0.02794 seconds