-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/19/2014 5:24 PM, Dale R. Worley wrote: > This raises the related question of whether there should be codes > to identify the partition type inside the LUKS partition. That is, > the partition table code identifies the partition as a LUKS > partition, but once one has supplied the keys for LUKS encryption, > is there any way to tell the type of the encrypted partition > without testing for magic numbers (using "file" or the like)? Linux doesn't pay any attention to partition type codes anyhow and just uses blkid to identify the contents. > I suppose there aren't enough type codes in MBR to allow > separately identifying "ext4 inside LUKS", but with GPT it would be > possible, and even could be done systematically. E.g., if the UUID > for a partition type is XXX, then the partition type for that type > inside of LUKS is MD5("LUKS" XXX)... > > Then again, perhaps you would not want to reveal the type of the > encrypted partition. That too. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) iQEcBAEBAgAGBQJUbhoWAAoJEI5FoCIzSKrwfZAH/AnTDFG8Nes4Sa+cKebZs9D/ Atf7SrWYQFy++p0o0sNKcSIrdjHghIGEzq8oTZ5pBgnEfu94/uTATUSGSFum7bqL 3ZYPgKNGi7SOj/Oc03p+Tzadjk01gpHUQMcj8jcHJUbrJheLCssPyB558vA5Vqrz D8bLbOz9JmoDQ+zpWrachKv3+7XAfh0ri54tKsEmNFKN3LOhrxyoVfIGIJf+MFQK kssPT/ZKD3W/PEBTaI/pcwaCo1+vdR2JYiy4ODBQy7LMfvvw97N3aZEKgRGgLudF NWApQR7AZLxjD2YllE0NI2NBeq4/8DgLicwnnJSqdHvKFKlbwC0Iq5wIugNjSds= =s8LS -----END PGP SIGNATURE----- -- 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