Re: The future of disk encryption with LUKS2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/10/2016 04:09 PM, Sven Eschenberg wrote:
> Actually PARTUUID should have read PARTTYPE-GUID - So there's no reason 
> why moving it to a different partition should not work, updating the 
> PARTTYPE is a trivial step and part of a proper moving operation anyway.

PARTTYPE GUID does not work properly for determining device type and never will.

Hint: check what systemd does with it. There is a "home" GUID. What it says
about device type?
https://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html

And that's just one example because the reality is not what you would like to see...

For checking device type we have to use blkid (IOW the real device scan).

I know it is not nice academic design but it is reality and, surprise, it works.

> Just imagine the network's linklayer had no idea which upper layer to 
> call, because there's no information on that. TCP/IP again does not have 
> that type of information.
> 
> So either the layering order is fixed and determined, or you actually 
> will need intra-layer relationships for proper operation. As an 
> alternative, leave it to the user's knowledge and handling. But then we 
> don't need partition tables, LUKS-headers or anything else either, 
> afterall you can tell each layer the geometry and parameters manually 
> and use dmsetup for all your tasks.

It is not just black and white.
(Could we avoid these logical fallacies here please?)

Milan
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt



[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux