mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/ngdump: Ensure ext4 file system is used on dump partition
If not specified, mkfs' default file system type is ext2 but
a NGDump dump partition must be formatted with ext4 file system.
Fixes: 41108c98aa ("zipl: move mkfs to ngdump prepare script")
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Marc Hartmayer <marc@linux.ibm.com>
Reviewed-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Tested-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
cd93949d17
commit
8edc5558b5
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user