Subject: Re: ifconfig -h patch
To: None <tech-userlevel@NetBSD.org>
From: Rui Paulo <rpaulo@NetBSD.org>
List: tech-userlevel
Date: 08/10/2005 15:00:03
--11Y7aswkeuHtSBEs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005.08.10 15:21:31 +0000, Joerg Sonnenberger wrote:
| On Wed, Aug 10, 2005 at 11:38:54AM +0100, Rui Paulo wrote:
| > On 2005.08.10 04:49:48 +0000, Hubert Feyrer wrote:
| > | On Tue, 9 Aug 2005, Rui Paulo wrote:
| > | >Christos said it looked good too.
| > |=20
| > | IC... btw, how do other unices handle the situation? do they print th=
e=20
| > | values by default, per option not at all, ...?
| >=20
| > The other BSDs don't have this kind of functionality; Linux prints the
| > values in human form by default; I dunno about Solaris, AIX, IRIX, etc.
|=20
| On DragonFly and I guess FreeBSD too, you normally get this information
| via netstat -I $nic -b.

I think you are missing the point.
You have 'netstat -I <nic> -b' under NetBSD too but the values printed
are the same as 'ifconfig -v'. My patch adds '-h' to ifconfig(8), but
-h can only be used in conjunction with -v. (it doesn't make sense otherwis=
e).

		-- Rui Paulo

--11Y7aswkeuHtSBEs
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFC+ghjZPqyxs9FH4QRAhz/AJ9iG7TKmGQUt+2zcTvmqxkqkOovkwCfbwwW
7KVlCT9su92EF4UOI2c1vj4=
=Gk91
-----END PGP SIGNATURE-----

--11Y7aswkeuHtSBEs--