[Parted-maintainers] Bug#294520: Patch for this bug(?)

Adam Porter adam at alphapapa.net
Thu Feb 16 04:33:48 GMT 2006


On Friday 10 February 2006 06:46, Bas Wijnen wrote:
> Tags: patch
>
> I have traced this problem down to libparted (and reassigned the bug
> accordingly).  I think I have found the problem, but since I cannot
> reproduce the behaviour, I am not sure.  I attached a patch for
> libparted/disk_dos.c.
>
> The problem seems to be that the partition number does not get initialized.
> This is supposed to happen later, but there is a check that it will not
> renumber primary partitions.  The patch initializes the number to -1, so
> the renumbering will indeed happen.
>
> Could you please test if the problem is solved with this patch?  In case
> you don't want to build from source, I built a .deb which I put at
> http://pcbcn10.phys.rug.nl/~shevek/debian/parted/

I installed these packages from your site:

libparted1.6-13_1.6.25.1-2.1_i386.deb
parted_1.6.25.1-2.1_i386.deb

Then I ran QTParted, and the problem still seems to exist.  I've attached 
fdisk's output and a screenshot of QTParted.

Thanks for your help in solving this bug.  Please let me know if I can help 
more.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fdisk output
URL: <http://alioth-lists.debian.net/pipermail/parted-maintainers/attachments/20060216/6a1afef6/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtparted.png
Type: image/png
Size: 75288 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/parted-maintainers/attachments/20060216/6a1afef6/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/parted-maintainers/attachments/20060216/6a1afef6/attachment.sig>


More information about the Parted-maintainers mailing list