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: Tue, 28 Jan 2014 22:41:27 +0100 [thread overview]
Message-ID: <1390945287.7021.16.camel@heisenberg.scientia.net> (raw)
In-Reply-To: <52E8210F.2000007@ubuntu.com>
[-- Attachment #1: Type: text/plain, Size: 2251 bytes --]
On Tue, 2014-01-28 at 16:28 -0500, Phillip Susi wrote:
> On 01/28/2014 04:09 PM, Christoph Anton Mitterer wrote:
> > - for plain dm-crypt it's a "good" way to make it recognisable
> Or use LUKS instead.
Well some people don't want to do so... whether that makes sense or
not.. is probably up to them :)
> The problem with hints is that they often tend to be wrong, which is
> why Linux ignores them and goes straight to looking at what is in the
> partition.
Sure and that's likely the best approach,... but there is not only
Linux ;-)
> If it isn't used then why have it? All it does is add confusion.
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.
Anyway.. as I said... no one is forced to use it at all... it just
sounds better to have something defined that to leave that open and have
people choose anything...
And this mail was merely to inform fdisk upstream that these values were
now "chosen".
> >> Linux doesn't use partition IDs.
> > Phew... that's not fully true... not even for the kernel which I
> > think still contains the code to do MD auto assembly with 0.9
> > superblocks when some MBR partition type is set...
> That's the exception and is depreciated/legacy behavior from the days
> before initrd/initramfs.
Well but that exception just proves my point.. that feature was
deprecated for good reason as it caused many issues... and you cannot
guarantee that no one else (e.g. outside the FLOSS world) comes along
and adds some other seemingly smart functionality... and at least one
could hope that such someone wouldn't touch any IDs which clearly don't
"belong" to him.
> >> Also isn't plain dm-crypt depreciated?
> > Why should it be?
> For all of the reasons that LUKS was created. In particular, the lack
> of the ability to identify the thing.
Well I guess the main reason was rather to have the functionality with
key slots, and have the cipher/hash/mode/etc. stored.
Aprart from that one would usually rather try not to run around shouting
that one has an encrypted container...
Cheers,
Chris.
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5165 bytes --]
next prev parent reply other threads:[~2014-01-28 21:42 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 [this message]
2014-01-29 0:52 ` Phillip Susi
2014-01-29 1:05 ` Christoph Anton Mitterer
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=1390945287.7021.16.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