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

Phillip Susi psusi at ubuntu.com
Thu Oct 31 14:33:20 UTC 2013


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

On 10/31/2013 6:16 AM, Nageswara R Sastry wrote:
> dasd_read functionality having 280 lines of code out of which 170
> lines of code for FBA kind of disks.
> 
> The dasd_read's FBA code can not be copied so easily, because it
> takes care of similar disks and many other conditions. I feel
> better to call dasd_read from dasd_alloc in the case of FBA disk.

You can't do that since it reads the current label off the disk, which
is still blank when alloc is called.


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

iQEcBAEBAgAGBQJScmowAAoJEJrBOlT6nu75+JAH/iIY2ztnhMblfsOpXTkJfTKb
yoCUt+9C6DoW0HAhGbB7szIO3XS3aG2ehePHuZMcjmFvVJXalHzVlsOry4X8VMTm
1BwSCGuHrWpyi4lslHMYJqmHhX7n0DwRr8a3sY623TGoErJ/KreQ+VKs+7Xad4hn
wJIV1L6yW+4JfRfry3MyyQJpirUyuyjackgzlt/lncPALO3VOOsKQExUTakzmZHt
inrbE386m+1REwpCUIhwo3pZeT7eFepYtJ4bEE9DLjjA20XzpeaU7VsqqrWQ2Fgp
mEd4O7KlNwUaHaelmxQ7lb4FjaWkuWp2WrNeQDtrgisxn7/tvffWCQvviQ1/bqc=
=g7c6
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list