Date: Tue, 22 Sep 2009 17:10:04 GMT From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-standards@FreeBSD.org Subject: Re: standards/137173: `uname -n` incorrect behavior Message-ID: <200909221710.n8MHA480096696@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/137173; it has been noted by GNATS. From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-standards@FreeBSD.ORG, bug-followup@FreeBSD.ORG, akosela@andykosela.com, jilles@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909221710.n8MHA480096696>