On 04/15/2011 06:43 PM, Greg Kurz wrote: > On Fri, 2011-04-15 at 10:00 -0500, Rob Landley wrote: >> On 04/13/2011 12:49 PM, Francois-Xavier Bourlet wrote: >>> Hi, >>> >>> Here's a patch with the purpose adding a way to browse containers trough >>> liblxc. >> >> What does "browse" mean in this context? >> > > By reading the code, "browse" seems to mean "run some user code with a > user provided context for each container". > >>> I added the function lxc-browse, that simply call back a function with >>> the container name as parameter. >> >> So, get a list of the containers? Like lxc-ls? >> >>> It help to abstract how to browse containers without needed to know >>> the underlaying structure of LXC. >> >> for i in $(lxc-ls); do lxc-info -n $i; done >> >> I don't understand the purpose of this patch. >> > > I guess this patch offers a for-each-container feature for users that > link directly into liblxc rather than using lxc commands. > > Francois-Xavier, do you confirm ?
François-Xavier ? Sauf indication contraire ci-dessus: Compagnie IBM France Siège Social : Tour Descartes, 2, avenue Gambetta, La Défense 5, 92400 Courbevoie RCS Nanterre 552 118 465 Forme Sociale : S.A.S. Capital Social : 542.737.118 ? SIREN/SIRET : 552 118 465 02430 ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel