From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 14:08:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DAAB16A4B3 for ; Sat, 11 Oct 2003 14:08:17 -0700 (PDT) Received: from remt27.cluster1.charter.net (remt27.cluster1.charter.net [209.225.8.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF48143FDD for ; Sat, 11 Oct 2003 14:08:15 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt27.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 179160209; Sat, 11 Oct 2003 17:08:15 -0400 From: "Charles Howse" To: "'Erik Trulsson'" Date: Sat, 11 Oct 2003 16:08:06 -0500 Message-ID: <003401c3903b$c4813c60$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <20031011205909.GA92571@falcon.midgard.homeip.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal cc: freebsd-questions@freebsd.org Subject: RE: Uname -v incorrect X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2003 21:08:17 -0000 > 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!