From owner-freebsd-current@FreeBSD.ORG Mon Jul 13 06:31:46 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9C981065673 for ; Mon, 13 Jul 2009 06:31:46 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 6F6A58FC13 for ; Mon, 13 Jul 2009 06:31:46 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 8CA147E818; Sun, 12 Jul 2009 22:31:45 -0800 (AKDT) From: Mel Flynn To: freebsd-current@freebsd.org Date: Sun, 12 Jul 2009 22:31:44 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200907122143.26830.mel.flynn+fbsd.current@mailing.thruhere.net> <20090713060456.GA2565@tafi.alm.flutnet.org> In-Reply-To: <20090713060456.GA2565@tafi.alm.flutnet.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907122231.44564.mel.flynn+fbsd.current@mailing.thruhere.net> Cc: Alson van der Meulen Subject: Re: Disk devices changed after upgrade to current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 06:31:46 -0000 On Sunday 12 July 2009 22:04:56 Alson van der Meulen wrote: > * Mel Flynn [2009-07-13 07:43]: > > Nowhere up there I'm saying to use ufsid's: > > [...] > > I made these labels under 7.1-STABLE then cross-installed on the second > > slice. glabel is in GENERIC for a while now (7.1-RELEASE?), so it's > > something you can use without problems and they even work on livefs cd's. > > Yep, glabel works fine. As far as I know, glabel stores its information > in the last sector, and makes the provider a sector smaller. This means > that you can't add it to an existing filesystemi without risking > corruption. glabel will warn if the last sector is not empty. > Using an ufsid requires figuring out the id from dmesg and > editting fstab, to start using glabel you have to enter single user > mode, dump, glabel, newfs, restore, edit fstab. TBH, I'd prefer glabel to "tag the ufsid with the human name", but for the moment we have to live with the last sector implementation. The procedure you describe however, is the worst case scenario. I've made these labels without the dump/newfs/restore. And because I was cross installing on a different slice, even without the single user mode part. > I'm not aware of any > sysinstall support for glabels either, so even for new installs it > requires booting with a livefs and manual partitioning. By definition, new installs are not affected by upgrade surprises. The surprise here that sliceless disks, have their 's1' dropped when upgrading from 7 to 8.x and using labels would eliminate this surprise and any future change in disk naming conventions. -- Mel