-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 07/10/2014 07:58 PM, Chris Murphy wrote: > This is in master branch. > > libparted/labels/dos.c 98 #define PARTITION_LINUX_RAID 0xfd > > > This type code and metadata version 0.9 are long deprecated. > Parted lacks support for the "non-fs data" partition type code > 0xda, which is what should be used for mdadm metadata 1.x > partitions. > > man 8 mdadm: "When creating a partition based array, using mdadm > with version-1.x metadata, the partition type should be set to > 0xDA (non fs-data). This type selection allows for greater > precision since using any other [RAID auto-detect (0xFD) or a > GNU/Linux partition (0x83)], might create problems in the event of > array recovery through a live cdrom."
Why does it matter? Linux doesn't pay attention to the partition type code anyhow. I've always just used 0x83. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCgAGBQJTwwsxAAoJEI5FoCIzSKrw+qYIAID8rG0Q7u1fdilQgAtK1n9x sNuRVDbi1mGQiktMYTUcUUNNtd6sglau4XUpU/LX9jR50fHbbI4CtT/7pTEbptmC URKWjA77ViChbf/6OJd4wevuQUhFN/WQgQTj2Tgqijr2zI6TKD5JPDyqqxaH/wz1 0A6SIF1j7dWId7Z2obzHU2vNTh/GIin50MOR+49MpBy03GwtYb+BpNXCypz0LEwk E5QEGd1kW01RPLLF2FE0tuyjiYIqY74g95VWdFxghBGGW1ZuNHjLbq3G9b4ixthq 05Ph+FfwECqvgZr+xA9QtGbHZjEFsyHGLOf9xQH0NkRx+BZUGMQQDCiYAgkEJfU= =T7uG -----END PGP SIGNATURE-----