All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
To: Dmitry Mishin <dim-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
Cc: Linux Containers
	<containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>,
	igor-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org
Subject: Re: [Devel] lxc userspace tools 0.3.0 released
Date: Thu, 16 Oct 2008 11:06:45 +0200	[thread overview]
Message-ID: <48F70425.5090606@fr.ibm.com> (raw)
In-Reply-To: <200810161210.48149.dim-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>

Dmitry Mishin wrote:
> Hi, Daniel!

Hi Dmitry ! good to see you again :)

> I studied a bit lxc tools and have a couple of questions. Could you answer 
> them?

Of course I can :)

> 1)  Why did you chose such way of a container's configuration storing? IMHO, 
> configuration in one file is better, because this file will be small and 
> could be easily mmap'ed for the following operations instead of multiple 
> readdir() and filesystem lookups.

I wanted to have the configuration easily hackable, so you can edit 
directly the files inside the directory. For example, if you remove the 
network directory, when you will start the container, the network will 
not be unshared. If you have a single file, that will be more difficult 
to edit especially if it is a binary file.

The container tree contains more than the configuration file, for 
example, it contains some runtime information.

It is true having a mmapped configuration is more efficient but it is 
just for container startup, and there are not thousand of files. The 
application running inside the container is not impacted.

> 2) why did you chose cvs as VCS? Git is more common and convenient for 
> distributed development...

The lxc userspace tool is a low level component I wrote to play with the 
container, and especially to facilitate the kernek hacking. The lxc 
kernel website is at lxc.sourceforge.net, so logically I put this 
component at the same place. Unfortunately the sourceforge website does 
not provide the services for git tree, only CVS/SVN. But I agree 100% 
with you, I would have definitively preferred to use git.

  parent reply	other threads:[~2008-10-16  9:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-14 14:39 lxc userspace tools 0.3.0 released Daniel Lezcano
     [not found] ` <48F4AF2E.3000204-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-14 17:00   ` Cedric Le Goater
2008-10-16  8:10   ` [Devel] " Dmitry Mishin
     [not found]     ` <200810161210.48149.dim-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-10-16  9:06       ` Daniel Lezcano [this message]
     [not found]         ` <48F70425.5090606-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-16 10:57           ` Dmitry Mishin
     [not found]             ` <200810161457.45686.dim-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-10-16 12:28               ` Daniel Lezcano
     [not found]                 ` <48F73358.80208-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-17  8:08                   ` Dmitry Mishin
     [not found]                     ` <200810171208.51783.dim-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-10-17 20:42                       ` Daniel Lezcano
     [not found]                         ` <48F8F8BE.7080509-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-20  8:42                           ` Dmitry Mishin
     [not found]                             ` <200810201242.47995.dim-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-10-20  9:52                               ` Daniel Lezcano
2008-10-16  8:22   ` Alexey Eremenko
     [not found]     ` <7fac565a0810160122n7afa6e71l929be8cb08ba05c6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-10-16  9:50       ` Daniel Lezcano
     [not found]         ` <48F70E53.9070002-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-16  9:56           ` Alexey Eremenko
     [not found]             ` <7fac565a0810160256mc3de8b5raf4bab31470b051a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-10-16 10:35               ` Daniel Lezcano
2008-10-16 12:55           ` Cedric Le Goater
     [not found]             ` <48F739BB.4070201-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-10-16 13:30               ` Daniel P. Berrange
     [not found]                 ` <20081016133006.GQ27881-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-10-16 14:10                   ` Daniel Lezcano

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=48F70425.5090606@fr.ibm.com \
    --to=dlezcano-nmtc/0zbporqt0dzr+alfa@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=dim-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org \
    --cc=igor-GEFAQzZX7r8dnm+yROfE0A@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.