Subject: Re: an fdisk that supports extended partitions
To: Quentin Garnier <netbsd-port-i386@quatriemek.com>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: port-i386
Date: 01/30/2003 20:04:21
> > partition> b
> > Filesystem type [?] [unused]: swap
> > Start offset [0c, 0s, 0M]: 
> > Partition size ('$' for all remaining) [0c, 0s, 0M]: $
> >  b:   2074880   1804800       swap                      # (Cyl. 2400 -
> >  5159*)
> > 
> > 
> > I want the newly created parition (b) to begin where the previous
> > partition (a) ends. Fdisk does that, at least David's improved version.
> > 
> > BTW, I don't understand what the "C" command is supposed to do.
> 
> Well, offset for b is correct here : 32 + sizeof(a). Size, OTOH, is not.
> Maybe a bug when expanding the '$' value, since the offset entered was 0 ?
> 

Ah, I see. If I enter 0 as the start offset, it is taken relative to the
end of previous partition, not to the start of  the disk. This confused
me first. 

Thanks	Pavel