mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rohit Seth <rohitseth@google.com>
To: Valdis.Kletnieks@vt.edu
Cc: Andrew Morton <akpm@osdl.org>,
	devel@openvz.org, CKRM-Tech <ckrm-tech@lists.sourceforge.net>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [Patch03/05]- Containers: Initialization and Configfs interface
Date: Tue, 19 Sep 2006 09:33:15 -0700	[thread overview]
Message-ID: <1158683595.18533.53.camel@galaxy.corp.google.com> (raw)
In-Reply-To: <200609191538.k8JFc6cY022534@turing-police.cc.vt.edu>

On Tue, 2006-09-19 at 11:38 -0400, Valdis.Kletnieks@vt.edu wrote:
> On Thu, 14 Sep 2006 18:41:26 PDT, Rohit Seth said:
> 
> > --- linux-2.6.18-rc6-mm2.org/kernel/container_configfs.c	1969-12-31 16:00:00.000000000 -0800
> > +++ linux-2.6.18-rc6-mm2.ctn/kernel/container_configfs.c	2006-09-14 16:18:45.000000000 -0700
> 
> > +static ssize_t simple_containerfs_attr_show(struct config_item *item,
> > +		struct configfs_attribute *attr,
> > +		char *page)
> ...
> > +	switch (ctfs_attr->idx) {
> > +	case CONFIGFS_CTN_ATTR_ID:
> > +		tmp = sc->ctn.id;
> > +		break;
> ...
> > +	return sprintf(page, "%ld\n", tmp);
> 
> What use is this value, given that we already have containers/user_friendly_name
> to use in the filesystem namespace?  Or is this a mostly-debugging thing?

I think ids (numeric numbers) will be useful when printing the
information in /proc/<pid>/container  User land tools don't necessarily
have to parse the (name) string in that case.

-rohit


      reply	other threads:[~2006-09-19 16:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-15  1:41 Rohit Seth
2006-09-15 16:30 ` Björn Steinbrink
2006-09-15 16:47   ` Rohit Seth
2006-09-19 15:38 ` Valdis.Kletnieks
2006-09-19 16:33   ` Rohit Seth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1158683595.18533.53.camel@galaxy.corp.google.com \
    --to=rohitseth@google.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=akpm@osdl.org \
    --cc=ckrm-tech@lists.sourceforge.net \
    --cc=devel@openvz.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome