[Parted-maintainers] parted print gives negative result.

Sven Luther sven.luther@wanadoo.fr
Thu, 25 Nov 2004 13:52:28 +0100


On Thu, Nov 25, 2004 at 01:21:42PM +0100, Ake wrote:
> Hi!
> Using parted 1.6.11-8 on a large disk i get negative values from
> parted print.
> 
> # parted /dev/r5nr0 mklabel msdos
> # parted /dev/r5nr0 print
> Disk geometry for /dev/dm-1: 0.000-1421395.000 megabytes
> Disk label type: msdos
> Minor    Start       End     Type      Filesystem  Flags
> # parted /dev/r5nr0 mkpart primary 0 1420000
> # parted /dev/r5nr0 print
> Disk geometry for /dev/dm-1: 0.000-1421395.000 megabytes
> Disk label type: msdos
> Minor    Start       End     Type      Filesystem  Flags
> 1          0.016 -677152.000  primary
> 
> And yes this is a 1.4TB HW Raid5 disk.

Ok, known problem, i have a fix in the BTS, will see if there is still time to
apply it. The problem that a int is used to print the sectors, which obviously
breaks.

Friendly,

Sven Luther