[dm-crypt] Re: misaligned ending sector, 4096-byte luks sector size can't be used
Milan Broz <[email protected]> Thu, 27 Jan 2022 14:21:19 +0100
| Newsgroups | de.saout.dm-crypt |
|---|---|
| Message-ID | <[email protected]> |
On 25/01/2022 13:20, Arno Wagner wrote: > On Mon, Jan 24, 2022 at 23:10:34 CET, Milan Broz wrote: >> On 24/01/2022 18:07, Chris Murphy wrote: > [...] >> The whole idea of misaligned backup GPT at the end of device is broken. >> We should not follow that with adding hacks when the easy solution >> is just to align a partition properly. > > I fully agree to that. It is like having a virtual sector size and > then selectively in some places only not sticking to it. Not smart > and a gross KISS violation. And, of course, fundamental problems > like this one should always be fixed were they are caused. And it should be fixed in fdisk now: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=921c7da55ec78350e4067b3fd6b7de6f299106ee Not sure if parted is maintained these days, but it should follow this approach... Milan _______________________________________________ dm-crypt mailing list -- [email protected] To unsubscribe send an email to [email protected]