From owner-freebsd-current@FreeBSD.ORG Wed Apr 30 08:36:06 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A4A637B401 for ; Wed, 30 Apr 2003 08:36:06 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64BCC43F75 for ; Wed, 30 Apr 2003 08:36:05 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h3UFa4Nj011541; Wed, 30 Apr 2003 17:36:04 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: "Simon L. Nielsen" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 30 Apr 2003 12:44:48 +0200." <20030430104448.GD400@nitro.dk> Date: Wed, 30 Apr 2003 17:36:04 +0200 Message-ID: <11540.1051716964@critter.freebsd.dk> cc: freebsd-current@freebsd.org Subject: Re: Disklabel bug? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 30 Apr 2003 15:36:06 -0000 In message <20030430104448.GD400@nitro.dk>, "Simon L. Nielsen" writes: >I have a disk with two slices since I need more partions than on slice >can hold. I have one 20GB and one ~200GB but when I edit the disklabels >for the two slices it looks like disklabel(8) get the total size of the >slize wrong (sectors/unit). It uses the size of the entire disk instead >of the slice causing disklabel to complain about the c partion being >wrong size. Hmm, I just tried this on my test box, and it came out right, so I wonder if you can remember the exact steps which brought you in this situation ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.