From owner-freebsd-current@FreeBSD.ORG Fri Jul 10 15:42:51 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 16B76106567F for ; Fri, 10 Jul 2009 15:42:51 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id F25AF8FC21 for ; Fri, 10 Jul 2009 15:42:50 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed; delsp=yes Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KMK00BVEOZC4780@asmtp024.mac.com> for freebsd-current@freebsd.org; Fri, 10 Jul 2009 08:42:50 -0700 (PDT) From: Marcel Moolenaar In-reply-to: <3a142e750907100433y307f9b2bya1dc54953bdf5de2@mail.gmail.com> Date: Fri, 10 Jul 2009 08:42:48 -0700 Message-id: <0B1F6799-2FAC-4C01-A978-42E247979CAB@mac.com> References: <20090710042106.GC31950@rwpc12.mby.riverwillow.net.au> <20090710071023.GB32316@rwpc12.mby.riverwillow.net.au> <20090710112631.GE32316@rwpc12.mby.riverwillow.net.au> <3a142e750907100433y307f9b2bya1dc54953bdf5de2@mail.gmail.com> To: "Paul B. Mahol" , John Marshall X-Mailer: Apple Mail (2.1068) Cc: freebsd-current@freebsd.org Subject: Re: 8.0-BETA1 bsdlabel broken? 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: Fri, 10 Jul 2009 15:42:51 -0000 On Jul 10, 2009, at 4:33 AM, Paul B. Mahol wrote: >>>>> Today I had a nasty surprise when I fired up bsdlabel to >>>>> increase the >>>>> size of a swap partition. I booted the system off the 7.2-RELEASE >>>>> live >>>>> filesystem CD and its bsdlabel displayed "normal" labels. I >>>>> used the >>>>> bsdlabel off the 7.2 livefs CD to edit the label. *snip* > There is one not so trivial solution. Recreating labels with gpart(8) Well, as stated, a bsdlabel from 7.2-RELEASE does not complain. Let's not yet assume the disk label is broken and instead look at the tool. John: Can you send me the output of "gpart show da0" and "gpart show da0s1". Could you also send me (or make available for download) a binary dump of sectors 0 (the MBR), 63 and 64 (the disklabel in slice 1). If it's the tool, I'll see about fixing it... Thanks, -- Marcel Moolenaar xcllnt@mac.com