On Wed, 21 Aug 2013 07:59:11 -0500
Serge Hallyn <serge.hal...@ubuntu.com> wrote:

> Quoting Christian Seiler (christ...@iwakd.de):
[...]
> To implement that, we would rename lxc_container_new() to
> lxc_container_new_ln() which takes an extra boolean and dereferences
> the symlink if the boolean is true, have lxc_container_new() call
> that, and have lxc-destroy call lxc_container_new_ln() with the
> boolean false.
> 
> > - When showing names (mostly lxc-ls), always show the
> >    real name by default, never the alias. So if /var/lib/lxc
> >    contains the following contents
> >            foo/
> >            bar/
> >            baz -> bar
> >    then lxc-ls should only show foo and bar. An additional
> >    option for also showing aliases (or only showing aliases)
> >    may be useful here.
> 
> Yes, that might require a trivial tweak to the listing logic
> to ignore symlinks.

Hmm, if lxc-ls is the analog of ls, then by default maybe we should
do what it does: show links. I do agree though it'd be nice to
have an option to differentiate that a name is an alias and not the
actual thing, maybe in --fancy?.

So would pretty much everything except destroy deref? (ie. info, wait,
etc...) Would the glob in monitor apply to the link or the deref'ed
name?

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to