From: Milan Broz <gmazyland@gmail.com>
To: Anthony Rossomano <trossoma2@gmail.com>, util-linux@vger.kernel.org
Subject: Re: Partition incorrectly identified as LUKS
Date: Thu, 11 Dec 2025 22:22:09 +0100 [thread overview]
Message-ID: <13c13750-6420-40a8-a99c-35b46b9b009a@gmail.com> (raw)
In-Reply-To: <4C27EBF0-B758-4528-903C-9199916EB6F9@gmail.com>
On 12/11/25 4:20 PM, Anthony Rossomano wrote:
> LUKS image is stored on XFS partition. When secondary LUKS signature
> winds up at one of the offsets checked by libblkid partition then we
> have the side effects of partition reported with crypto_LUKS fstype,
> no by-label link created by udev, mount requires fstype, etc
>
> Don’t think that this has been addressed upstream but need to
> confirm.
LUKS2 metadata contains offset, so it is not possible to detect
it on a wrong offset.
If it is detected on partition (secondary LUKS2 header),
it probably means that partition was not properly wiped before reformat.
(wipefs -a should wipe both LUKS2 headers)
Anyway, without the reproducer image it is just guessing.
Milan
next prev parent reply other threads:[~2025-12-11 21:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-11 15:20 Partition incorrectly identified as LUKS Anthony Rossomano
2025-12-11 21:22 ` Milan Broz [this message]
2025-12-11 23:24 ` Anthony Rossomano
2025-12-12 7:35 ` Milan Broz
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=13c13750-6420-40a8-a99c-35b46b9b009a@gmail.com \
--to=gmazyland@gmail.com \
--cc=trossoma2@gmail.com \
--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