From owner-freebsd-embedded@FreeBSD.ORG Tue Jul 7 13:34:01 2009 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 076551065672 for ; Tue, 7 Jul 2009 13:34:01 +0000 (UTC) (envelope-from fb-embedded@psconsult.nl) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5AA8FC0A for ; Tue, 7 Jul 2009 13:34:00 +0000 (UTC) (envelope-from fb-embedded@psconsult.nl) Received: from mx1.psconsult.nl (localhost [80.89.238.138]) by mx1.psconsult.nl (8.14.2/8.14.2) with ESMTP id n67CswVR002817 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Jul 2009 14:55:03 +0200 (CEST) (envelope-from fb-embedded@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.2/8.14.2/Submit) id n67Cswvp002816 for freebsd-embedded@freebsd.org; Tue, 7 Jul 2009 14:54:58 +0200 (CEST) (envelope-from fb-embedded@psconsult.nl) Date: Tue, 7 Jul 2009 14:54:58 +0200 From: Paul Schenkeveld To: freebsd-embedded@freebsd.org Message-ID: <20090707125458.GA2233@psconsult.nl> Mail-Followup-To: freebsd-embedded@freebsd.org References: <3131aa530907051440l7ea1fa87y13edb3595fcf93e1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3131aa530907051440l7ea1fa87y13edb3595fcf93e1@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: Patch for adding label support to NanoBSD X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2009 13:34:01 -0000 On Sun, Jul 05, 2009 at 11:40:11PM +0200, Olivier Cochard-Labbé wrote: > Hi all, > > here is a patch that add label support to NanoBSD: This remove the > need of generate different image (ad0 or da0 boot drive). > You can download this patch here (tested on current): > http://bsdrp.svn.sourceforge.net/viewvc/bsdrp/trunk/nanobsd.glabel.patch I like the idea but what does this mean for upgrading existing NanoBSD installations? From reading the patch it looks like the new _.disk.image file is not compatible with an existing installation and would be a POLA violation. Perhaps a configuration option to choose between the old and new naming can be added? > I've merge the 2 update script updatep1 and updatep2 in one script, > and adapt them to this new label use. > You can download this new update script here: > http://bsdrp.svn.sourceforge.net/viewvc/bsdrp/trunk/Files/usr/local/bin/upgrade This makes life easier for sure. Notes on the script itself: - use glabel status instead of glabel list to find the provider name, this makes the script easier to follow and less vulnerable to future changes in the (verbose) output of glabel list. - # Check and set final >>varible<< should be spelled variable. -- Paul Schenkeveld