[parted-devel] [PATCH] libparted: Fixed bug in initializing and re-reading partition table of FBA devices

Phillip Susi psusi at ubuntu.com
Tue Oct 29 13:38:31 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/29/2013 2:54 AM, Nageswara R Sastry wrote:
> While trying to add partition 'disk.c: ped_disk_get_partition'
> called, it internally calls 'disk.c: ped_disk_next_partition', this
> function does not know about implicit partition so returns 'NULL'.

Right, *that* is the real problem.  Fix that and the blkpg code should
do the right thing.

> My last year patches to parted, added code in labels/dasd.c to take
> care of creating implicit partition. Due to the above mentioned
> reason needed BLKRRPRT.

It looks like this patch was not applied.  If it were, and
ped_disk_next_partition returned the implicit partition, then both
parted print and the blkpg code should already do the right thing.

> With the following patches & fixes, parted print shows the
> implicit partition.
> 
> Introducing the support of EAV and EDEV devices. 
> http://web.archiveorange.com/archive/v/UeqtKA5pFJY6CbWBM8Gg
> 
> And some more fixes to them [1], 
> http://lists.gnu.org/archive/html/bug-parted/2013-09/msg00009.html 
> http://lists.gnu.org/archive/html/bug-parted/2013-09/msg00017.html 
> http://lists.gnu.org/archive/html/bug-parted/2013-09/msg00011.html

These still have not been applied.  Are you saying that when you apply
them, your patch isn't needed?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSb7pXAAoJEJrBOlT6nu750G4H/ArF9poGUVZaCojri79UhrtL
01jtPxIhtRo/fXrZvArORlqvfWhv1PyDDi/9oqtNeb1jPgbTxIvU/fdDRPRXTsF8
oIVvf3etEQ102KK9ki7SIDFEXy2lqytu4TVLTpAXFYacoPaq3nzRNhKfZ4BosLeL
rpxmxobX4PfryfjXI3woTu2k7n/tY2mQ8GYg6ZwduJlouejdp1bbhu2oXbFK8fFf
eW2Eu04Wn6yltsjCCW0EEDsrnH2rGQWxbl2LI2BYcw+NazYVjeXaD4JgwbllUNcn
zBvEx1uUpsa1Xol6xWCO6X+wodOnAOhzwbyGRsmL2E7frN8a0h448n0ceLUeSPw=
=uJb7
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list