From 8edc5558b5b8b8b8ad497f920c687e0696441eed Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Mon, 12 Jan 2026 15:34:20 +0100 Subject: [PATCH] zipl/ngdump: Ensure ext4 file system is used on dump partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If not specified, mkfs' default file system type is ext2 but a NGDump dump partition must be formatted with ext4 file system. Fixes: 41108c98aa63 ("zipl: move mkfs to ngdump prepare script") Signed-off-by: Alexander Egorenkov Reviewed-by: Marc Hartmayer Reviewed-by: Mikhail Zaslonko Tested-by: Mikhail Zaslonko Signed-off-by: Jan Höppner --- zipl/dracut/zipl_helper.prepare-ngdump | 2 +- zipl/initramfs-tools/zipl_helper.prepare-ngdump | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zipl/dracut/zipl_helper.prepare-ngdump b/zipl/dracut/zipl_helper.prepare-ngdump index 92a27bc4..7fbdb2bc 100755 --- a/zipl/dracut/zipl_helper.prepare-ngdump +++ b/zipl/dracut/zipl_helper.prepare-ngdump @@ -19,7 +19,7 @@ DRACUT_OMIT_MODULES=( function create_dumpfs() { [ "$dryrun" -eq 1 ] && { echo "/dev/null"; return 0; } - mkfs -F "$device" >/dev/null || { echo "Couldn't create filesystem on $1." >&2; return 1; } + mkfs.ext4 -F "$device" >/dev/null || { echo "Couldn't create filesystem on $1." >&2; return 1; } local disk_path=/dev/disk/by-uuid/$(blkid -o value -s UUID "$device") for i in $(seq 0 30) do diff --git a/zipl/initramfs-tools/zipl_helper.prepare-ngdump b/zipl/initramfs-tools/zipl_helper.prepare-ngdump index 7d9a8570..e1221858 100755 --- a/zipl/initramfs-tools/zipl_helper.prepare-ngdump +++ b/zipl/initramfs-tools/zipl_helper.prepare-ngdump @@ -9,7 +9,7 @@ function create_dumpfs() { [ "$dryrun" -eq 1 ] && { echo "/dev/null"; return 0; } - mkfs -F "$device" >/dev/null || { echo "Couldn't create filesystem on $1." >&2; return 1; } + mkfs.ext4 -F "$device" >/dev/null || { echo "Couldn't create filesystem on $1." >&2; return 1; } local disk_path=/dev/disk/by-uuid/$(blkid -o value -s UUID "$device") for i in $(seq 0 30) do