diff options
-rw-r--r-- | src/core/libs/lib-blockdevices-filesystems.sh | 2 | ||||
-rw-r--r-- | tests/runtime/automatic-reuse-fs-sda/install.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index c0fe3ad..e6227b9 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -368,7 +368,7 @@ partition() # invoke sfdisk debug 'FS' "Partition calls: sfdisk $DEVICE -uM >$LOG 2>&1 <<< $sfdisk_input" printk off - sfdisk $DEVICE -uM >$LOG 2>&1 <<EOF + sfdisk -D $DEVICE -uM >$LOG 2>&1 <<EOF $sfdisk_input EOF if [ $? -gt 0 ]; then diff --git a/tests/runtime/automatic-reuse-fs-sda/install.sh b/tests/runtime/automatic-reuse-fs-sda/install.sh index d6ef255..93a650e 100644 --- a/tests/runtime/automatic-reuse-fs-sda/install.sh +++ b/tests/runtime/automatic-reuse-fs-sda/install.sh @@ -1,7 +1,7 @@ #!/bin/sh # sda1 boot, sda2 will be swap, sda3 /, sda4 which will contain the "existing filesystem of the user" with "important data" on it. -sfdisk -uM /dev/sda << EOF +sfdisk -D /dev/sda -uM << EOF ,50,,* ,20,S ,800, |