Subject: Re: an fdisk that supports extended partitions
To: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
From: Christos Zoulas <christos@zoulas.com>
List: port-i386
Date: 01/30/2003 15:30:42
On Jan 30, 7:25pm, pcah8322@artax.karlin.mff.cuni.cz (Pavel Cahyna) wrote:
-- Subject: Re: an fdisk that supports extended partitions
It is probably broken for i386 because it gets confused by the c partition.
I'll take a look at it.
christos
| 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
-- End of excerpt from Pavel Cahyna