From: Christoph Anton Mitterer <calestyo@scientia.net>
To: util-linux@vger.kernel.org
Subject: Re: fdisk: add GPT partition types for plain dm-crypt and LUKS
Date: Wed, 29 Jan 2014 02:05:43 +0100 [thread overview]
Message-ID: <1390957543.10482.18.camel@heisenberg.scientia.net> (raw)
In-Reply-To: <52E850D1.6090807@ubuntu.com>
[-- Attachment #1: Type: text/plain, Size: 2805 bytes --]
On Tue, 2014-01-28 at 19:52 -0500, Phillip Susi wrote:
> On 01/28/2014 04:41 PM, Christoph Anton Mitterer wrote:
> > Well some people don't want to do so... whether that makes sense
> > or not.. is probably up to them :)
>
> Sure, but they are just as likely to continue to be ignorant of this
> type code and never use it.
>
> > Sure and that's likely the best approach,... but there is not only
> > Linux ;-)
>
> So are there any other operating systems that want to or already are
> using these codes?
>
> > Again... other systems may use it... there is the ID for the ESP,
> > which is definitely used... and you never know which other system
> > (other OS, bootloader) comes a long and tries to do something based
> > on it.
>
> The possibility that someone some day may use it isn't a good reason
> to add it. The ESP has a special ID because the UEFI standard
> requires it, and that causes enough trouble as it is.
As I've said... use it or not... :) ... this mail was just an
information which I've sent to all GPT capable open source partition
editors I knew.
> I also don't see any point in a
> code for LUKS, though pure a pure dm-crypt code would at least have a use.
Well the reason for that is simply, that I think, conceptually it would
be a bad idea to have the same code used for both, since these are
different types of "containers" (the one having the LUKS header the
other not).
Now I only a dm-crypt GPT type would have been defined, people would
have used that for LUKS as well... which is - as said - IMHO not very
clean.
> Ummm... how does it prove your point? You admit that it was a bad
> idea that caused many issues... and somehow that makes repeating the
> same mistake a good idea?
The bad thing about 0xFD for MD auto assembly is not that there was some
type defined, but that it was used for something fragile.
Defining a GPT type for LUKS/dm-crypt is just like a placeholder-type,
so that people/tools who do set a type in any case aren't tempted to set
something stupid.
> > Aprart from that one would usually rather try not to run around
> > shouting that one has an encrypted container...
> Yet you propose doing exactly that via the partition type code.
Yeah I know... but again... one isn't forced to set it... ;-)
People also tend to use plain dm-crypt for swap... and if such partition
is wanted to be marked as plain dm-crypt... that would be the way to
go...
Anyway... guess we can stop that pointless discussion...
Some people wanted such code... whether it's useful or not is something
everybody can decide on his own... I just wanted to inform the part
editors about this, so that they can take it up in their lists of well
known types - if they want.
Cheers,
Chris.
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5165 bytes --]
next prev parent reply other threads:[~2014-01-29 1:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-28 18:48 fdisk: add GPT partition types for plain dm-crypt and LUKS Christoph Anton Mitterer
2014-01-28 20:57 ` Phillip Susi
2014-01-28 21:09 ` Christoph Anton Mitterer
2014-01-28 21:28 ` Phillip Susi
2014-01-28 21:41 ` Christoph Anton Mitterer
2014-01-29 0:52 ` Phillip Susi
2014-01-29 1:05 ` Christoph Anton Mitterer [this message]
2014-01-28 21:35 ` Davidlohr Bueso
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=1390957543.10482.18.camel@heisenberg.scientia.net \
--to=calestyo@scientia.net \
--cc=util-linux@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox