From: Ben Gras Date: Thu, 1 Sep 2005 16:17:46 +0000 (+0000) Subject: interruptable readall X-Git-Tag: v3.1.0~203 X-Git-Url: http://zhaoyanbai.com/repos/named-checkzone.html?a=commitdiff_plain;h=d8ad4fa376a0f7c6056c7ba5be84c62822baf7bd;p=minix.git interruptable readall --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 27e3cc9a2..64622ab38 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -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 ""