Uname -v incorrect
chowse at charter.net
Sat Oct 11 14:08:17 PDT 2003
> 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
> > 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 at larry ~]# uname -a
> > FreeBSD larry.howse.homeunix.net 4.8-RELEASE-p13 FreeBSD
> > #0: Wed Oct 8 09:38:04 CDT 2003
> > root at 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'.
More information about the freebsd-questions