]> Zhao Yanbai Git Server - minix.git/commitdiff
interruptable readall
authorBen Gras <ben@minix3.org>
Thu, 1 Sep 2005 16:17:46 +0000 (16:17 +0000)
committerBen Gras <ben@minix3.org>
Thu, 1 Sep 2005 16:17:46 +0000 (16:17 +0000)
commands/scripts/setup.sh

index 27e3cc9a2b36a5e8d1fa73600379dcd485265d50..64622ab387780c2e532f2c2f8be4f3cdbbca84cf 100755 (executable)
@@ -367,17 +367,19 @@ echo "Scanning disk for bad blocks.  Hit CTRL+C to stop the scan if you are"
 echo "sure that there can not be any bad blocks.  Otherwise just wait."
 
 trap ': nothing;echo' 2
+
 echo ""
 echo "Scanning /dev/$root for bad blocks:"
 readall -b /dev/$root | sh
 
+echo ""
 echo "Scanning /dev/$home for bad blocks:"
 readall -b /dev/$home | sh
-trap 2
 
 echo ""
 echo "Scanning /dev/$usr for bad blocks:"
 readall -b /dev/$usr | sh
+
 trap 2
 
 echo ""