From owner-freebsd-current Wed Jan 29 21:55:23 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3144737B401 for ; Wed, 29 Jan 2003 21:55:22 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3D3243E4A for ; Wed, 29 Jan 2003 21:55:21 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.6) with ESMTP id h0U5tLXv047478; Wed, 29 Jan 2003 21:55:21 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id h0U5tLBe047477; Wed, 29 Jan 2003 21:55:21 -0800 (PST) Date: Wed, 29 Jan 2003 21:55:21 -0800 From: Steve Kargl To: Garance A Drosihn Cc: Sheldon Hearn , current@FreeBSD.ORG Subject: Re: Seat-belt for source upgrades from stable to current Message-ID: <20030130055521.GA47408@troutmask.apl.washington.edu> References: <20030129191822.GO78848@starjuice.net> <20030130040542.GA46905@troutmask.apl.washington.edu> <20030130045957.GA47151@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jan 30, 2003 at 12:47:13AM -0500, Garance A Drosihn wrote: > At 8:59 PM -0800 1/29/03, Steve Kargl wrote: > > > >You don't need a special file to indicate what version of > >FreeBSD you have. uname -r tells you. > > > > Actually, one thing I don't know is how this would work when it > comes to RELENG_4 vs RELENG_4_0 (since I don't run RELENG_4_0). > What does uname show for the security branches? Just wondering. > The uname idea is fine with me, if someone wants to implement it > that way. > I don't run 4.x, so I do know. ;-) I suspect on a 4.x system, you'll get "4.x-AAAA" where AAAA is either FreeBSD or STABLE. To distinguish between 4.x and 5.x, all we need the first character. In actuality, if you build a 5.0 world on a 4.x system, I think ${OBJDIR}/usr.bin/uname/uname will die with an error when the shared libraries aren't found. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message