[parted-devel] Extended partitions

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Sat Nov 11 00:36:13 CET 2006


Parted (both 1.7.1 and 1.8.0rc3) have a problem accessing extending
partitions as can be seen from the following session:

[root at Sunflower ~]# parted /dev/hda
GNU Parted 1.8.0rc3
Using /dev/hda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print

Model: ST93015A (ide)
Disk /dev/hda: 30.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      32.3kB  98.7MB  98.7MB  primary   ext3         boot
 2      98.7MB  19.4GB  19.3GB  primary   ext3
 3      19.4GB  25.9GB  6440MB  primary   ext3
 4      25.9GB  30.0GB  4137MB  extended
 5      25.9GB  28.0GB  2147MB  logical   ext3
 6      28.0GB  29.1GB  1077MB  logical   ext3
 7      29.1GB  29.3GB  239MB   logical   ext3
 8      29.3GB  30.0GB  674MB   logical   linux-swap

(parted) select /dev/hda4
Using /dev/hda4
(parted) print
Error: Can't have a partition outside the disk!
(parted)

Is this how it is supposed to be, or should it be treated as a bug?

Cheers,
Debarshi



More information about the parted-devel mailing list