[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A4DC4CF.4020808@cn.fujitsu.com>
Date: Fri, 03 Jul 2009 16:43:59 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Gui Jianfeng <guijianfeng@...fujitsu.com>
CC: Paul Menage <menage@...gle.com>, linux-kernel@...r.kernel.org,
Linux Containers <containers@...ts.linux-foundation.org>
Subject: Re: [PATCH] cgroup: Fix indent for /proc/cgroups
Gui Jianfeng wrote:
> Li Zefan wrote:
>> CC: container list
>>
>> Gui Jianfeng wrote:
>>> Currently, /proc/cgroups outputs is fairly ugly as following,
>>> #subsys_name hierarchy num_cgroups enabled
>>> cpuset 0 1 1
>>> debug 0 1 1
>>> ns 0 1 1
>>>
>>> indent it in a good-looking way.
>>> #subsys_name hierarchy num_cgroups enabled
>>> cpuset 0 1 1
>>> debug 0 1 1
>>> ns 0 1 1
>>>
>> But if there's a subsystem with name length >= 8,
>> it won't be aligned properly..
>
> Yeap, but there isn't such a case at least by now.
>
This is not a good reason.
We'll probably have such a subsystem. Actually there's a
proposed subsystem named "maxdepth" which is of length 8.
See:
http://lkml.org/lkml/2009/7/1/581
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists