Hi,
while adding linux-home as a partition type to GPT I realized that the code in gpt.c could be simplified by removing the 14 flags that correspond to a partition type/uuid in _GPTPartitionData. Instead the type/uuid can be used directly. That also fixes some minor bugs: E.g. setting "atvrecv" does not clear "bls_boot" so both flags are shown. Alike setting "diag" does not clear "bls_boot" and setting "prep" does not clear "msftdata". Also creating a new partition with file system "fat", "udf", "ntfs" or "linux-swap" does not set the nsftdata or swap flag (it only sets the type uuid). That is done in the first patch. The second small patch then adds the linux-home flag. Thanks, Arvin -- Arvin Schnell, <[email protected]> Senior Software Engineer, Research & Development SUSE Software Solutions Germany GmbH Maxfeldstraße 5 90409 Nürnberg Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer
