[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 2/2] devmapper/getroot: Set up cheated LUKS2 cryptodisk mo
From: |
Josselin Poiret |
Subject: |
Re: [PATCH v3 2/2] devmapper/getroot: Set up cheated LUKS2 cryptodisk mount from DM parameters |
Date: |
Sat, 21 May 2022 11:27:48 +0200 |
Hello Glenn,
Glenn Washburn <development@efficientek.com> writes:
> After reviewing this, I stumbled upon Fabian's patch. I wrote a
> response on the thread of that patch with the suggestion that his patch
> be used to get the total number of sectors and sector size and this
> patch be used to get the crypto information. This would obviate the
> problematic parsing part of this patch. What do you think about
> removing all the parsing code after the setting of cryptodisk->hash?
I just read that mail, and it does seem like the proper way (I don't
need much convincing to remove most of that ugly parsing code!). I'll
send a cleaned up patch later with all the logic errors adressed, and
without the further sector size code.
Best,
--
Josselin Poiret