From owner-cvs-src@FreeBSD.ORG Wed Apr 9 23:20:03 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 330F637B404 for ; Wed, 9 Apr 2003 23:20:03 -0700 (PDT) Received: from heaven.gigo.com (heaven.gigo.com [64.57.102.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id A742D43F3F for ; Wed, 9 Apr 2003 23:20:02 -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 C7E71B89E for ; Wed, 9 Apr 2003 23:20:01 -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 cc: Andy Farkas Subject: Re: your mail X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 06:20:03 -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