From owner-freebsd-hackers Sun May 7 01:14:44 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA09668 for hackers-outgoing; Sun, 7 May 1995 01:14:44 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA09660 for ; Sun, 7 May 1995 01:14:26 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id SAA07864; Sun, 7 May 1995 18:12:03 +1000 Date: Sun, 7 May 1995 18:12:03 +1000 From: Bruce Evans Message-Id: <199505070812.SAA07864@godzilla.zeta.org.au> To: dawes@physics.usyd.edu.au, hackers@FreeBSD.org Subject: Re: Number of partitions reports/required by disklabel incorrect? Sender: hackers-owner@FreeBSD.org Precedence: bulk >I just noticed that the output of disklabel(8) on SNAP-950412 reports the >number of partitions to be one more than it displays. The main reason I >noticed it was that when editing the label, and setting the number to the >actual number: >3 partitions: ># size offset fstype [fsize bsize bps/cpg] > a: 164538 198 4.2BSD 512 4096 16 # (Cyl. 1 - 831) > c: 164538 198 unused 0 0 # (Cyl. 1 - 831) > d: 164736 0 unused 0 0 # (Cyl. 0 - 831) >disklabel would say: >Warning, unused partition d: size 164736 offset 0 You already had 3 (a, b and c with b empty and not displayed). Then d was one too many. Bruce