[lxc-devel] lxc-0.7.4 released

Daniel Lezcano daniel.lezcano at free.fr
Mon Mar 7 20:25:21 UTC 2011


On 03/07/2011 08:48 PM, Rob Landley wrote:
> How do I tell what version of lxc I'm using?  The new lxc isn't in the
> debian repo yet so I a ./configure/make/install from source, but I'm not
> sure where it installed it.  there's no central "lxc" command that runs
> the other stuff.  I tried "lxc-create --version" but it didn't give me
> the version number.  lxc-info didn't have anything either.  The man page
> is from the old version, but I don't know if that means anything...

lxc-version

> It occurs to me that this is something people might actually want to
> check at some point in the future.  This is why git has a central "git
> do-thing" redirector for all the git-do-thing commands.

That is the idea. I was hoping someone was willing to implement such 
central command.

>    So you have a
> place to go to beat things like --version out of it.  (Also, "man lxc"
> is a bit fiddly if there's no lxc command, it took me a while to figure
> out I needed to do that.)

Hmm, the commands are in the SEE ALSO section, maybe we can put them in 
a more adequate place ala git:

...

GIT COMMANDS
        We divide git into high level ("porcelain") commands and low 
level ("plumbing")
        commands.

HIGH-LEVEL COMMANDS (PORCELAIN)
        We separate the porcelain commands into the main commands and 
some ancillary user
        utilities.

    Main porcelain commands
        git-add(1)
            Add file contents to the index.

        git-am(1)
            Apply a series of patches from a mailbox.

        git-archive(1)
            Create an archive of files from a named tree.

etc ...




More information about the lxc-devel mailing list