standards/137173: `uname -n` incorrect behavior
Oliver Fromme
olli at lurza.secnetix.de
Tue Sep 22 17:10:05 UTC 2009
The following reply was made to PR standards/137173; it has been noted by GNATS.
From: Oliver Fromme <olli at lurza.secnetix.de>
To: freebsd-standards at FreeBSD.ORG, bug-followup at FreeBSD.ORG,
akosela at andykosela.com, jilles at FreeBSD.ORG
Cc:
Subject: Re: standards/137173: `uname -n` incorrect behavior
Date: Tue, 22 Sep 2009 19:05:23 +0200 (CEST)
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
More information about the freebsd-standards
mailing list