All of lore.kernel.org
 help / color / mirror / Atom feed
From: Drake Wilson <drake@dasyatidae.net>
To: "Dale R. Worley" <worley@alum.mit.edu>
Cc: util-linux@vger.kernel.org
Subject: Re: LUKS partition types, redux
Date: Wed, 19 Nov 2014 16:37:27 -0600	[thread overview]
Message-ID: <546D1BA7.9060501@dasyatidae.net> (raw)
In-Reply-To: <201411192224.sAJMOhTi010782@hobgoblin.ariadne.com>

Dale R. Worley wrote:
> This raises the related question of whether there should be codes to
> identify the partition type inside the LUKS partition.

(Dropping Debian bug from Cc for this.)

I don't think that really matches up with the way disklabel types
work any more than, say, identifying the type of data stored in a
filesystem would.  There actually _are_ GPT types in fdisk for
"Linux root (x86)", "Linux home" etc. but I consider these to be
anomalous and never use them as there's an infinite number of possible
nestings there.  If users want to mint their own GPT types for those
purposes, they can, of course.

My usual stance is that type identifiers should be shallow at each level
(one reason piercing through LUKS to get a type code is semantically bad)
and present at as many levels as necessary.  I might support an extension
proposal to allow (but not require) a type for the underlying volume to
be added as part of the _LUKS_ header, therefore (probably using a GPT
type just for convenience).  However, I also think the argument that it's
unnecessary because Linux wouldn't interpret it is much more valid there,
because LUKS is more or less defined by its use in Linux, whereas GPT and
MBR disklabels are not and have more stringent interop requirements with
other tools and OSes.

Either way, I don't think that's nearly as important.

   ---> Drake Wilson


  reply	other threads:[~2014-11-19 22:37 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-19 20:59 LUKS partition types, redux Drake Wilson
2014-11-19 22:24 ` Dale R. Worley
2014-11-19 22:37   ` Drake Wilson [this message]
2014-11-20 21:33     ` Dale R. Worley
2014-11-21  7:47       ` Milan Broz
2014-11-21  7:54         ` LUKS partition types, redux (wandering into the weeds) Drake Wilson
2014-11-20 16:43   ` Bug#770211: LUKS partition types, redux Phillip Susi
2014-11-24  4:45     ` Drake Wilson
2014-11-24 14:33       ` Phillip Susi
2014-11-24 14:37         ` Drake Wilson
2014-11-24 14:45           ` Phillip Susi
2014-11-24 14:48           ` Drake Wilson
2014-11-24 14:58             ` Phillip Susi
2014-11-24 15:04               ` Drake Wilson
2014-11-24 15:09                 ` Phillip Susi
2014-11-24 16:10               ` Karel Zak
2014-11-24 16:27                 ` Phillip Susi
2014-11-25 15:18                 ` Dale R. Worley
2014-11-24 11:37 ` Karel Zak
2014-11-24 12:09   ` Drake Wilson
2014-11-24 14:42   ` Phillip Susi
2014-11-24 15:46     ` Karel Zak
2014-11-24 19:56       ` Bruce Dubbs
2014-11-25 11:26         ` Karel Zak
2014-11-25 15:36           ` Bruce Dubbs
2014-11-25 15:20       ` Dale R. Worley
2014-11-24 15:48     ` Dale R. Worley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546D1BA7.9060501@dasyatidae.net \
    --to=drake@dasyatidae.net \
    --cc=util-linux@vger.kernel.org \
    --cc=worley@alum.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.