Subject: Re: an fdisk that supports extended partitions
To: Christos Zoulas <christos@zoulas.com>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: port-i386
Date: 01/30/2003 19:25:39
Hello,

> ?       print this menu
> C       make partitions contiguous
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

that doesn't do what I expect:

partition> P
16 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:   1804768        32     4.2BSD   1024  8192   114   # (Cyl.    0*- 2399)
 c:   2074848        32     unused      0     0         # (Cyl.    0*- 2759*)
 d:   2074880         0     unused      0     0         # (Cyl.    0 - 2759*)
partition> C
Automatically adjust partitions [no]: y
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.

Thanks	Pavel