standards/137173: `uname -n` incorrect behavior

Andy Kosela akosela at andykosela.com
Wed Jul 29 07:10:03 UTC 2009


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

From: Andy Kosela <akosela at andykosela.com>
To: jhein at timing.com, bug-followup at FreeBSD.org
Cc:  
Subject: Re: standards/137173: `uname -n` incorrect behavior
Date: Wed, 29 Jul 2009 09:00:52 +0200

 John Hein <jhein at timing.com> wrote:
 
 > It seems at least part of this report is inaccurate.
 > I tested on linux (Fedora 10) and it seems to behave
 > the same as freebsd...
 >
 > [root at foo ~]# hostname
 > foo.example.com
 > [root at foo ~]# uname -n
 > foo.example.com
 
 I tested it on SLES and Debian only.  You are right, RedHat behaves
 differently.  It seems there is no consensus about -n behavior even in
 the Linux camp.
 
 --Andy


More information about the freebsd-standards mailing list