From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 25 14:22:23 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD5A616A4DA for ; Fri, 25 Aug 2006 14:22:23 +0000 (UTC) (envelope-from rik@inse.ru) Received: from mail.inse.ru (inse.ru [144.206.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B211E43D67 for ; Fri, 25 Aug 2006 14:22:22 +0000 (GMT) (envelope-from rik@inse.ru) Received: from [127.0.0.1] (www.inse.ru [144.206.128.1]) by mail.inse.ru (Postfix) with ESMTP id 227E533C46; Fri, 25 Aug 2006 18:22:21 +0400 (MSD) Message-ID: <44EF0A13.80008@inse.ru> Date: Fri, 25 Aug 2006 18:32:51 +0400 From: Roman Kurakin User-Agent: Thunderbird 1.5.0.5 (X11/20060813) MIME-Version: 1.0 To: "Yuan, Jue" References: <200608251958.09341.yuanjue02@gmail.com> In-Reply-To: <200608251958.09341.yuanjue02@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: How to change kernel version tag? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 14:22:23 -0000 Yuan, Jue wrote: > Hi all. > > Could I change the kernel version tag manually? say, I have a kernel which is > 7.0-CUREENT, but for some reasons I wanna it be something like 6.1-RELEASE, > while the kernel itself does't change from 7.0-CURRENT to 6.1-RELEASE. All I > want is the change of tag. For example, if this works, then when I > type "uname -a" in console, I would get "6.1-RELEASE ..." instead > of "7.0-CURRENT ...". > You jast want to change the uname output, or some software checks kernel version? rik > I guess some config files in src/sys/ could take care of this. But I cannot > find it out. Anybody knows how to get this job done? > > Any ideas are really appreciated. :-) > > BTW: I am not in this list. So if you reply, please CC a copy to me. Thanks. > >