From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 13:59:13 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 AF16916A4B3 for ; Sat, 11 Oct 2003 13:59:13 -0700 (PDT) Received: from falcon.midgard.homeip.net (h76n3fls24o1048.bredband.comhem.se [213.67.148.76]) by mx1.FreeBSD.org (Postfix) with SMTP id 90A0A43F75 for ; Sat, 11 Oct 2003 13:59:10 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: (qmail 92586 invoked by uid 1001); 11 Oct 2003 20:59:09 -0000 Date: Sat, 11 Oct 2003 22:59:09 +0200 From: Erik Trulsson To: Charles Howse Message-ID: <20031011205909.GA92571@falcon.midgard.homeip.net> Mail-Followup-To: Charles Howse , freebsd-questions@freebsd.org References: <003001c39038$9287af80$04fea8c0@moe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003001c39038$9287af80$04fea8c0@moe> User-Agent: Mutt/1.5.4i 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 20:59:13 -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 /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'. -- Erik Trulsson ertr1013@student.uu.se