From owner-freebsd-current Wed Jan 29 21:32:58 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 8381F37B401 for ; Wed, 29 Jan 2003 21:32:56 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF2D343F75 for ; Wed, 29 Jan 2003 21:32:55 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id h0U5WisR258404; Thu, 30 Jan 2003 00:32:45 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20030130045957.GA47151@troutmask.apl.washington.edu> References: <20030129191822.GO78848@starjuice.net> <20030130040542.GA46905@troutmask.apl.washington.edu> <20030130045957.GA47151@troutmask.apl.washington.edu> Date: Thu, 30 Jan 2003 00:32:43 -0500 To: Steve Kargl From: Garance A Drosihn Subject: Re: Seat-belt for source upgrades from stable to current Cc: Sheldon Hearn , current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 At 8:59 PM -0800 1/29/03, Steve Kargl wrote: >On Wed, Jan 29, 2003 at 11:21:39PM -0500, Garance A Drosihn wrote: >> At 8:05 PM -0800 1/29/03, Steve Kargl wrote: >> >> >uname(1) works on both 4.7 and 5.0. This seems >> >like a trivial problem to fix. >> >> If you use something fixed like uname, then what does one do once >> they *DO* want to switch from one branch to another one? >> > >Compare output from /usr/bin/uname -r to ${OBJDIR}/usr.bin/uname/uname -r. >If the strings are the same, then install. If the strings are different >or an error occurs either abort the install or wait for keyboard input >to continue the installation. > >You don't need a special file to indicate what version of >FreeBSD you have. uname -r tells you. Indeed, I know what uname -r does. I also know that it changes when freebsd goes from 4.6 to 4.7, even though the user has not changed what branch (RELENG_4) they intend to be pulling updates from when we decide to change the name. I understand what you're advocating, I just don't prefer it. On the other hand, I agree that would also work better than what we have now. I only want to offer some suggestions, and let someone else (sheldon?) decide what they wanted to implement. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message