Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2003 21:28:12 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Wes Peters <wes@softweyr.com>, arch@freebsd.org
Subject:   Re: newfs and mount vs. half-baked disks
Message-ID:  <p06002035bbce0ed7aeef@[128.113.24.47]>
In-Reply-To: <200311041737.20467.wes@softweyr.com>
References:  <200311041737.20467.wes@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 5:37 PM -0800 11/4/03, Wes Peters wrote:
>Should extra debugging code like this be committed?  Code like
>this would make it much easier to wrap a regression test around
>newfs, at the cost of introducing non-operational command line
>arguments into utilities.  If anyone has suggestions on how
>to do this, please share.

For what it's worth, I recently added some non-operational
command line arguments into newsyslog.  In my case I decided
to add only *1* new argument, and then all the special
debugging commands are specified as strings to that argument.

This means that only one option-letter is used up, and it
also makes it much much less likely that someone is going to
specify the special debugging/regression options by accident.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06002035bbce0ed7aeef>