Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2003 16:08:06 -0500
From:      "Charles Howse" <chowse@charter.net>
To:        "'Erik Trulsson'" <ertr1013@student.uu.se>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Uname -v incorrect
Message-ID:  <003401c3903b$c4813c60$04fea8c0@moe>
In-Reply-To: <20031011205909.GA92571@falcon.midgard.homeip.net>

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=20
> /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,=20
> the -v stuff
> > comes after the '#0:'
> > Will this change with a rebuild?
> >=20
> > [root@larry ~]# uname -a
> > FreeBSD larry.howse.homeunix.net 4.8-RELEASE-p13 FreeBSD=20
> 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
>=20
> 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'.

Thanks!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003401c3903b$c4813c60$04fea8c0>