]> git.ipfire.org Git - thirdparty/systemd.git/commit
homework: Use same sector size when probing the device
authorscarlet-storm <12461256+scarlet-storm@users.noreply.github.com>
Sat, 28 Dec 2024 03:43:34 +0000 (09:13 +0530)
committerscarlet-storm <12461256+scarlet-storm@users.noreply.github.com>
Tue, 17 Feb 2026 12:53:35 +0000 (18:23 +0530)
commit292525dd20ce2b6ecb6511c470bcddcb06a3ea16
tree39355ea3d3704b5e0cd6b560083789fc4222f60f
parent118cccf97fa39e46a8f84f57c8bb73bb436e74b0
homework: Use same sector size when probing the device

If there is an explicit sector size specified in the user record,
use the same when probing the file using libblkid. The default
is 512 bytes, which will not be able to find the signatures, if the
partition table on regular file was created assuming 4k sectors
src/home/homework-luks.c