]> git.ipfire.org Git - thirdparty/systemd.git/commit
Use sectorsize for partition tables on block devs 35776/head
authorscarlet-storm <12461256+scarlet-storm@users.noreply.github.com>
Sat, 28 Dec 2024 08:44:11 +0000 (14:14 +0530)
committerscarlet-storm <12461256+scarlet-storm@users.noreply.github.com>
Tue, 17 Feb 2026 12:53:35 +0000 (18:23 +0530)
commit48b9d7e980e5ca182af0f9e06a5c67e727f606d2
treef4d4a0733e615ddf37e54cbf4add4fd97f4908b6
parent6a389701b22af2a5d492df328cd883a3889b2c1f
Use sectorsize for partition tables on block devs

Fix for specific case #30393 where 4k sector luks container is created
on a 512b device. In this case the partition table needs to be 512b,
else the kernel will not be able to find the partition, and we will
have to create a loop device to translate the partition table to 4k.
src/home/homework-luks.c