From: Ben Gras Date: Wed, 29 Jun 2005 12:04:10 +0000 (+0000) Subject: Added some diagnostic X-Git-Tag: v3.1.0~676 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.host.html?a=commitdiff_plain;h=afcfd1871dd252f9e3fed9e9b93889258c9ab95e;p=minix.git Added some diagnostic --- diff --git a/tools/mkboot b/tools/mkboot index 842380dc9..71034f94d 100755 --- a/tools/mkboot +++ b/tools/mkboot @@ -126,7 +126,12 @@ fdboot) # Make a file system. umount $dev 2>/dev/null - mkfs -B 1024 -i 512 $dev || exit + if mkfs -B 1024 -i 512 $dev + then : + else + echo "mkfs of $dev failed." + exit 1; + fi # Install /dev, /boot/boot and /boot/image. mount $dev /mnt || exit @@ -153,7 +158,12 @@ cdfdboot) # cdfdboot: Make a boot floppy image to go on a CD for booting from. dev=/dev/ram umount $dev 2>/dev/null - mkfs -B 1024 -b 1440 -i 512 $dev || exit 1 + if mkfs -B 1024 -b 1440 -i 512 $dev || exit 1 + then : + else + echo "mkfs of $dev failed." + exit 1; + fi # Install /dev, /boot mount $dev /mnt || exit 1