> From: Drake Wilson <dr...@dasyatidae.net>
> 
> Summary: I would like to reopen the suggestion to add LUKS partition
> type codes for MBR and for GPT to util-linux's fdisk.

It certainly makes sense to me.

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)?

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.

Dale


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to