Subject: RE: some problems, success, questions...
To: Markus Baeurle <emw4maba@gp.fht-esslingen.de>
From: Mark Brinicombe <amb@physig.ph.kcl.ac.uk>
List: port-arm32
Date: 01/03/1997 20:00:23
> > 5 partitions:
> > # size offset fstype [fsize bsize cpg]
> > a: 2048 0 4.2BSD 1024 8192 0 # (Cyl. 0 -
> 0)
> > b: 2048 2048 swap # (Cyl. 1 - 1)
> > c: 444416 0 4.2BSD 1024 8192 16 # (Cyl. 0 -
> 216)
> > e: 440320 4096 4.2BSD 1024 8192 0 # (Cyl. 2 -
> 216)
> >
> >
> > Hmm, I wonder why is says "5 partitions". I only count 4.
>
> [cut]
> I might be wrong (only had a quick look at the code), but it looks as if
> partitions are only listed if their size is not zero (pp->p_size is checked
> which seems to be the size in cylinders) yet lp->d_partitions is printed as the
> number of partitions which is also the limit for the for-loop but this includes
> partitions with pp->p_size==0.
> It would be less confusing though if such a partition was printed anyway IMHO.
Yep disklabel will just list those that as used and will claim 5
partitions as partition number 5 is in use.
> Anyway, doesn't really matter, does it? ;-)
Not really. Perhaps it would be nicer if disklabel to print something though.
Cheers,
Mark
Mark Brinicombe amb@physig.ph.kcl.ac.uk
Research Associate http://www.ph.kcl.ac.uk/~amb/
Department of Physics tel: 0171 873 2894
King's College London fax: 0171 873 2716