Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2003 22:59:09 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Charles Howse <chowse@charter.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Uname -v incorrect
Message-ID:  <20031011205909.GA92571@falcon.midgard.homeip.net>
In-Reply-To: <003001c39038$9287af80$04fea8c0@moe>
References:  <003001c39038$9287af80$04fea8c0@moe>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 11, 2003 at 03:45:14PM -0500, Charles Howse wrote:
> Hi,
> I recently changed the hostname of one of my machines in /etc/rc.conf.
> Now my uname -v output is still showing the old name.
> I've run uname -a here so you can see the complete output, the -v stuff
> comes after the '#0:'
> Will this change with a rebuild?
> 
> [root@larry ~]# uname -a
> FreeBSD larry.howse.homeunix.net 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13
> #0: Wed Oct  8 09:38:04 CDT 2003
> root@larry.howse.no-ip.org:/usr/obj/usr/src/sys/CUSTOM  i386

The hostname displayed by 'uname -v' is not the name of the host the
kernel is running on.
It is the name of the host the kernel was built on.
A rebuild will indeed change the hostname displayed by 'uname -v'.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



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