From: Artem Bityutskiy Date: Fri, 19 Apr 2013 13:29:38 +0000 (+0300) Subject: gpt_parser: update class commentary X-Git-Tag: 0.19~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1117bba911f3f49a0ff2d87bc905de9073290bcd;p=tools%2Fmic.git gpt_parser: update class commentary We now support CRC checking and partition table changing, so update commentaries. Change-Id: Id3acd1699d2da2752d6d05c4400404361a3e5634 Signed-off-by: Artem Bityutskiy --- diff --git a/mic/utils/gpt_parser.py b/mic/utils/gpt_parser.py index 2f1d2d7..7ca0a78 100644 --- a/mic/utils/gpt_parser.py +++ b/mic/utils/gpt_parser.py @@ -76,10 +76,8 @@ def _validate_header(raw_hdr): (crc, raw_hdr[3])) class GptParser: - """ GPT partition table parser. The current implementation is simplified - and it assumes that the partition table is correct, so it does not check - the CRC-32 checksums and does not handle the backup GPT partition table. - But this implementation can be extended in the future, if needed. """ + """ GPT partition table parser. Allows reading the GPT header and the + partition table, as well as modifying the partition table records. """ def __init__(self, disk_path, sector_size = 512): """ The class constructor which accepts the following parameters: