[parted-devel] [PATCH] libparted: Add support for MBR id and GPT GUID of UDF filesystem

Phillip Susi psusi at ubuntu.com
Mon Aug 27 17:31:25 BST 2018


On 8/27/2018 12:05 PM, Pali Rohár wrote:
> Sorry, but I do not understand you. I cannot remove special handling. As
> I wrote for block sizes < 2048 it is needed, because VSD size != block
> size.

Your third loop exists only to go back and check the other 3 anchor
offsets that the first two loops don't check.  Just have the first two
loops check all 4 anchor offsets, preferably by having detect_anchor
drop it's rel_block argument and just put the 4 offsets in there.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/parted-devel/attachments/20180827/0db9f779/attachment.sig>


More information about the parted-devel mailing list