[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091105082914.54D6.A69D9226@jp.fujitsu.com>
Date: Thu, 5 Nov 2009 08:34:12 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: Dhaval Giani <dhaval@...ux.vnet.ibm.com>
Cc: kosaki.motohiro@...fujitsu.com, Paul Menage <menage@...gle.com>,
Matt Helsley <matthltc@...ibm.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
balbir@...ux.vnet.ibm.com, containers@...ts.linux-foundation.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jan@...p1.linux-foundation.org,
Bharata B Rao <bharata.rao@...ibm.com>,
libcg-devel <libcg-devel@...ts.sourceforge.net>,
Safranek <jsafrane@...hat.com>
Subject: Re: [RFC] Mount point suggestions for cgroup
> On Wed, Nov 04, 2009 at 01:25:46PM -0800, Paul Menage wrote:
> > On Wed, Nov 4, 2009 at 9:35 AM, Matt Helsley <matthltc@...ibm.com> wrote:
> > >
> > > If anything, "standardizing" the mount point(s) will likely provide a false
> > > sense of uniformity and we'll get some bad userspace scripts/tools that
> > > break when "nonstandard" usage appears. Leaving the mount point undefined
> > > forces anyone writing scripts or tools to consider whether they want to be
> > > portable and, if so, the proper way to find the cgroup hierarchies they need
> > > to manipulate.
> >
> > Scanning /proc/mounts to find the relevant mount locations is pretty
> > simple, for code that's just wanting to use existing cgroup mounts.
> > But for the code that sets up mounts in the first place, its probably
> > helpful to have recommendations of suitable locations.
>
> libcgroup uses a configuration file specified by the user to do this.
You are right.
But fixed mount point help to make quick cute script for sys-admin.
--
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