Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 1995 18:12:03 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        dawes@physics.usyd.edu.au, hackers@FreeBSD.org
Subject:   Re: Number of partitions reports/required by disklabel incorrect?
Message-ID:  <199505070812.SAA07864@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505070812.SAA07864>