From owner-freebsd-current@FreeBSD.ORG Tue Dec 30 06:32:04 2008 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 6A46D106566B; Tue, 30 Dec 2008 06:32:04 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id 526C68FC1A; Tue, 30 Dec 2008 06:32:04 +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 [192.168.1.96] (dial-209-148-96-37.sonic.net [209.148.96.37]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KCO00IQHFGZ6370@asmtp020.mac.com>; Mon, 29 Dec 2008 22:31:53 -0800 (PST) Message-id: <193E7722-B42E-4118-86CB-4F389260B430@mac.com> From: Marcel Moolenaar To: Peter Jeremy In-reply-to: <20081226210839.GG1081@server.vk2pj.dyndns.org> Date: Mon, 29 Dec 2008 22:31:47 -0800 References: <95872328-4FBF-4DAD-98DE-024FF53A4505@mac.com> <20081226085453.GB26808@dragon.NUXI.org> <20081226210839.GG1081@server.vk2pj.dyndns.org> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-current@freebsd.org Subject: Re: "geometry does not match label" 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: Tue, 30 Dec 2008 06:32:04 -0000 On Dec 26, 2008, at 1:08 PM, Peter Jeremy wrote: >> # disklabel /dev/ad8s4f >> # /dev/ad8s4f: >> 8 partitions: >> # size offset fstype [fsize bsize bps/cpg] >> c: 83441610 150994935 unused 0 0 # "raw" >> part, don't edit >> f: 83441610 150994935 4.2BSD 0 0 0 >> partition c: offset past end of unit >> partition c: partition extends past end of unit >> disklabel: partition c doesn't start at 0! >> disklabel: An incorrect partition c may cause problems for standard >> system utilities >> partition f: offset past end of unit >> partition f: partition extends past end of unit > > It looks like GEOM_PART_BSD reports partition information that is > incompatible with bsdlabel. disklabel reads the label from the disk. It's wrong on the disk. -- Marcel Moolenaar xcllnt@mac.com