Thank you for your answer.
If we are not resizing/adding but just renaming a partition, we want to
be sure that at least the primary or the backup GPT header/GPT partition
array will not be corrupted in the case of a sudden power-off. If the
write order is not guaranty, then the primary and backup GPT headers can
be written to the emmc without the corresponding partition array and the
system will not be consistent.
For example, if we have this effective write operation order on the disk:
1) backup GPT header
2) primary GPT header
--> power-off <--
3) primary partition tables
4) backup partition tables
5) protective MBR
then, CRC of partition array present in both GPT headers will be incorrect.
On 03/24/2015 04:24 AM, Dale R. Worley wrote:
But it seems to me that there is
no such consistent state -- what condition would you want that
information to be in? The old information is irretrevably lost during
the operation;
--
Ronan CHAUVIN
Embedded Software Engineer
ASIC team
--------------------------------
Parrot
174, quai de Jemmapes
75010 Paris France
--------------------------------
www.parrot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html