From owner-freebsd-current@FreeBSD.ORG Fri Jul 10 04:21:12 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 140D3106566B for ; Fri, 10 Jul 2009 04:21:12 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [203.58.93.36]) by mx1.freebsd.org (Postfix) with ESMTP id 868C78FC1E for ; Fri, 10 Jul 2009 04:21:11 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from rwpc12.mby.riverwillow.net.au (rwpc12.mby.riverwillow.net.au [172.25.24.168]) (authenticated bits=0) by mail1.riverwillow.net.au (8.14.3/8.14.3) with ESMTP id n6A4L6OI061620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 10 Jul 2009 14:21:07 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=riverwillow.com.au; s=m1001; t=1247199667; bh=Qtcve4Ym/nji+wnqhC5IcWCLfwMCeGwLIfppLb92W0I=; h=Date:From:To:Subject:Message-ID:Mime-Version:Content-Type; b=bR/bb0FwZWAHQxrhMfOgl1lhavfZqXFSXnjn5H0gXba34fo5pHiJopSNqF+VRzboQ JleJlast4JvRFVzT/FsJe+gM2NMAbJ2hLwWJRh2xm0BdB5DdVF28sazbhsw8bc2hzV f4ec99a1tExp/xawtP2wbZlcfO1WOvGBiOUp9dM4= Received: from rwpc12.mby.riverwillow.net.au (localhost [127.0.0.1]) by rwpc12.mby.riverwillow.net.au (8.14.3/8.14.3) with ESMTP id n6A4L6fK032096 for ; Fri, 10 Jul 2009 14:21:06 +1000 (AEST) (envelope-from john.marshall@riverwillow.com.au) Received: (from john@localhost) by rwpc12.mby.riverwillow.net.au (8.14.3/8.14.3/Submit) id n6A4L6pE032095 for freebsd-current@freebsd.org; Fri, 10 Jul 2009 14:21:06 +1000 (AEST) (envelope-from john) Date: Fri, 10 Jul 2009 14:21:06 +1000 From: John Marshall To: freebsd-current@freebsd.org Message-ID: <20090710042106.GC31950@rwpc12.mby.riverwillow.net.au> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8NvZYKFJsRX2Djef" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i OpenPGP: id=A29A84A2; url=http://pki.riverwillow.net.au/pgp/johnmarshall.asc Subject: 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 04:21:12 -0000 --8NvZYKFJsRX2Djef Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This system was source-upgrade from 7.2-RELEASE to 8.0-BETA1 a couple of days ago. 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. Here's what I see from 8.0-BETA1. Scary stuff! rwsrv05# bsdlabel da0s1 # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1048576 16065 4.2BSD 2048 16384 8=20 b: 8388608 1064641 swap =20 c: 33543720 16065 unused 0 0 # "raw" part, don't= edit e: 4194304 9453249 4.2BSD 2048 16384 28552=20 f: 19912232 13647553 4.2BSD 2048 16384 28552=20 partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system u= tilities partition f: partition extends past end of unit rwsrv05# bsdlabel da0s2 # /dev/da0s2: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 67103505 33559785 unused 0 0 # "raw" part, don't= edit d: 33554432 33559785 4.2BSD 2048 16384 28552=20 e: 33549073 67114217 4.2BSD 2048 16384 28552=20 partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system u= tilities partition d: partition extends past end of unit partition e: offset past end of unit partition e: partition extends past end of unit rwsrv05# bsdlabel ad0s1 # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 156301425 63 unused 0 0 # "raw" part, don'= t edit d: 156301409 79 4.2BSD 2048 16384 28552=20 partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system u= tilities partition d: partition extends past end of unit --=20 John Marshall --8NvZYKFJsRX2Djef Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkpWwbIACgkQw/tAaKKahKK16gCgzw/vp7U8TWImJOYSlftI75cN AxEAniY0nBLA5vfbaqnVYiiKA2yr4pig =k4wu -----END PGP SIGNATURE----- --8NvZYKFJsRX2Djef--