From owner-cvs-all@FreeBSD.ORG Wed Apr 9 23:19:59 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98AC337B401 for ; Wed, 9 Apr 2003 23:19:59 -0700 (PDT) Received: from heaven.gigo.com (heaven.gigo.com [64.57.102.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCB0743FBD for ; Wed, 9 Apr 2003 23:19:58 -0700 (PDT) (envelope-from lioux@brturbo.com) Received: from 200.193.225.119 (200-193-225-119.bsace7003.dsl.brasiltelecom.net.br [200.193.225.119]) by heaven.gigo.com (Postfix) with ESMTP id 5369DB70C for ; Wed, 9 Apr 2003 23:19:57 -0700 (PDT) Received: (qmail 36571 invoked by uid 1001); 10 Apr 2003 02:06:03 -0000 Message-ID: <20030410020603.36570.qmail@exxodus.fedaykin.here> Date: Wed, 9 Apr 2003 23:05:41 -0300 From: Mario Sergio Fujikawa Ferreira To: Mike Barcroft References: <200304090304.h3934Csu028105@repoman.freebsd.org> <20030410111953.N72779-100000@hewey.af.speednet.com.au> <20030409213044.I16782@espresso.bsdmike.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030409213044.I16782@espresso.bsdmike.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.8-STABLE X-Disclaimer: I hope you find what you are looking for... in life :) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: your mail X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 06:19:59 -0000 On Wed, Apr 09, 2003 at 09:30:22PM -0400, Mike Barcroft wrote: > Andy Farkas writes: > > On Tue, 8 Apr 2003, Mike Barcroft wrote: > > > > > Log: > > > o Add jls(8) for listing active jails. > > > o Add jexec(8) to execute a command in an existing jail. > > > o Add -j option for killall(1) to kill all processes in a specified > > > jail. > > > o Add -i option to jail(8) to output jail ID of newly created jail. > > > > > > > What is the reasoning behind adding another utility (jls) rather than > > incorporating its function into jail(8)? > > > > ie. perhaps `jail -l' could list jails. > > Same reason ipcs(1) and ipcrm(1) are separate utilities. Each utility > should do one thing well. But if others want to see these utilities > combined, I'm willing to reconsider. Furthermore, by having them in separate utilities, it is possible to list jails based on criterias. Or, whatever parameters we might come up to add to it instead of cluttering jail with parameters that really belong elsewhere. My 2 cents, ps: by the way, isn't it time to move this to arch@? or, some other technical review mailing list? it's already a long thread for cvs*@ -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature