Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2009 19:05:23 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-standards@FreeBSD.ORG, bug-followup@FreeBSD.ORG, akosela@andykosela.com, jilles@FreeBSD.ORG
Subject:   Re: standards/137173: `uname -n` incorrect behavior
Message-ID:  <200909221705.n8MH5NEh064549@lurza.secnetix.de>
In-Reply-To: <200909212235.n8LMZ09k040882@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Just for the record:
The claim that Solaris doesn't print the FQDN is incorrect.
Solaris prints whatever the admin has configured in /etc/nodename.
If the admin has configured the FQDN, "uname -n" will print the FQDN.
AFAIK it is the same for HP-UX.

So, FreeBSD really behaves the same as Solaris and HP-UX:
If you configure the hostname to be the FQDN, "uname -n" will print it,
just like the "hostname" command.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"Unix gives you just enough rope to hang yourself --
and then a couple of more feet, just to be sure."
        -- Eric Allman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909221705.n8MH5NEh064549>