bin/76089: The "-n" option in /usr/bin/w is broken

Sergey Matveychuk sem at
Sun Feb 13 22:50:12 PST 2005

The following reply was made to PR bin/76089; it has been noted by GNATS.

From: Sergey Matveychuk <sem at>
To: Peter Jeremy <PeterJeremy at>
Cc: freebsd-gnats-submit at, jesper at,
	hackers at
Subject: Re: bin/76089: The "-n" option in /usr/bin/w is broken
Date: Mon, 14 Feb 2005 09:45:44 +0300

 Peter Jeremy wrote:
 > Depending on the environment, the IP address may be more changeable
 > than the hostname.  Definitely, in a DHCP or dialup environment, you
 > can't rely on the IP address at any time other than during the
 > session.  There is little (if any) benefit in logging the IP address
 > instead of the hostname.
 I agree, environments are different. So may be it makes no sense to 
 change hostname with IP. It was just an idea.
 But fact is, we lost 'w -n' semantic. And it should be fixed.
 BTW, UT_HOSTSIZE=16 is too short in my opinion.

More information about the freebsd-bugs mailing list