your mail
Mario Sergio Fujikawa Ferreira
lioux at FreeBSD.org
Wed Apr 9 23:20:03 PDT 2003
On Wed, Apr 09, 2003 at 09:30:22PM -0400, Mike Barcroft wrote:
> Andy Farkas <andyf at speednet.com.au> 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 at someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature
More information about the cvs-src
mailing list