From e4c4661d3be2ca8776a9ed962e33fc5f87edcef0 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Thu, 13 Nov 2008 14:15:47 +0100 Subject: better debuglogging while creating partitions and shit --- src/core/libs/lib-blockdevices-filesystems.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index aa7dd6f..9e47c92 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -218,6 +218,7 @@ _mkfs() { local _dest=$4 local _mountpoint=$5 + debug "_mkfs: domk: $1, _device: $2, fstype: $3, dest: $4, mountpoint: $5" # we have two main cases: "swap" and everything else. if [ "${_fstype}" = "swap" ]; then swapoff ${_device} >/dev/null 2>&1 @@ -345,6 +346,7 @@ partition () sfdisk_input=$(printf "$sfdisk_input") # invoke sfdisk + debug "Partition calls: sfdisk $DEVICE -uM >$LOG 2>&1 <<< $sfdisk_input" printk off infofy "Partitioning $DEVICE" sfdisk $DEVICE -uM >$LOG 2>&1 <