From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758256AbZKDVlE (ORCPT ); Wed, 4 Nov 2009 16:41:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757456AbZKDVlD (ORCPT ); Wed, 4 Nov 2009 16:41:03 -0500 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:54164 "EHLO e23smtp06.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757220AbZKDVlC (ORCPT ); Wed, 4 Nov 2009 16:41:02 -0500 Date: Thu, 5 Nov 2009 03:10:30 +0530 From: Dhaval Giani To: Paul Menage Cc: Matt Helsley , KAMEZAWA Hiroyuki , balbir@linux.vnet.ibm.com, containers@lists.linux-foundation.org, "linux-kernel@vger.kernel.org" , Jan@smtp1.linux-foundation.org, Bharata B Rao , libcg-devel , Safranek Subject: Re: [RFC] Mount point suggestions for cgroup Message-ID: <20091104214030.GO5495@linux.vnet.ibm.com> Reply-To: Dhaval Giani References: <20091104063005.GC3560@balbir.in.ibm.com> <20091104154024.0b8f6123.kamezawa.hiroyu@jp.fujitsu.com> <20091104173517.GA3668@count0.beaverton.ibm.com> <6599ad830911041325i9b309a7y4d912d6be7ddbdd9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6599ad830911041325i9b309a7y4d912d6be7ddbdd9@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 04, 2009 at 01:25:46PM -0800, Paul Menage wrote: > On Wed, Nov 4, 2009 at 9:35 AM, Matt Helsley 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. thanks, -- regards, Dhaval