bin/76089: The "-n" option in /usr/bin/w is broken
Sergey Matveychuk
sem at FreeBSD.org
Sun Feb 13 22:45:48 PST 2005
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.
--
Sem.
More information about the freebsd-hackers
mailing list