Re: [lxc-devel] [PATCH] legacy ls: only output appropriate directories/containers

2013-02-18 Thread Stéphane Graber
On 02/12/2013 03:54 PM, Dwight Engen wrote: > For lxc-ls without --active, only output a directory in lxc_path if it > contains a file named config. This avoids extra directories that may > exist in lxc_path, for example .snapshot if lxc_path is an nfs mount. > > For lxc-ls with --active, don't ou

[lxc-devel] [PATCH] legacy ls: only output appropriate directories/containers

2013-02-12 Thread Dwight Engen
For lxc-ls without --active, only output a directory in lxc_path if it contains a file named config. This avoids extra directories that may exist in lxc_path, for example .snapshot if lxc_path is an nfs mount. For lxc-ls with --active, don't output . if there are no active containers. Signed-off-