bin/57089: "w" does not honor the -n option
Dima Dorfman
dima at trit.org
Mon Sep 22 15:00:30 PDT 2003
The following reply was made to PR bin/57089; it has been noted by GNATS.
From: Dima Dorfman <dima at trit.org>
To: Kirk Strauser <kirk at strauser.com>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: bin/57089: "w" does not honor the -n option
Date: Mon, 22 Sep 2003 21:54:10 +0000
Kirk Strauser <kirk at strauser.com> wrote:
>
> >Number: 57089
> >Category: bin
> >Synopsis: "w" does not honor the -n option
>
> >Description:
> w's -n option is supposed to prevent resolution of the network addresses
> that users are connecting from. On my 5.1-CURRENT system, built on
> 2003-09-19, this is not the case.
I think the "-n" option is intended to prevent name resolution to
avoid a display delay--not necessarily to display numeric addresses
(name resolution can be slow, possibly requiring dialing out the
Internet, and so on, so it's useful to be able to tell w(1) not to do
it). If utmp already has a name, it can be displayed without
incurring any lookup delay, so w(1) does so.
Hope this helps,
Dima.
More information about the freebsd-bugs
mailing list