forget about bad block testing.
This commit is contained in:
parent
523fdf2729
commit
1943df25dd
|
@ -501,35 +501,14 @@ fi
|
||||||
echo "Creating /dev/$usr for /usr .."
|
echo "Creating /dev/$usr for /usr .."
|
||||||
mkfs -B $blocksizebytes /dev/$usr || exit
|
mkfs -B $blocksizebytes /dev/$usr || exit
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo " --- Step 8: Wait for bad block detection ------------------------------"
|
|
||||||
echo ""
|
|
||||||
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
|
|
||||||
|
|
||||||
if [ "$nohome" = 0 ]
|
if [ "$nohome" = 0 ]
|
||||||
then
|
then
|
||||||
echo ""
|
|
||||||
echo "Scanning /dev/$home for bad blocks:"
|
|
||||||
readall -b /dev/$home | sh
|
|
||||||
fshome="home=/dev/$home"
|
fshome="home=/dev/$home"
|
||||||
else fshome=""
|
else fshome=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Scanning /dev/$usr for bad blocks:"
|
echo " --- Step 8: Wait for files to be copied -------------------------------"
|
||||||
readall -b /dev/$usr | sh
|
|
||||||
|
|
||||||
trap 2
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo " --- Step 9: Wait for files to be copied -------------------------------"
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "This is the final step of the MINIX 3 setup. All files will now be"
|
echo "This is the final step of the MINIX 3 setup. All files will now be"
|
||||||
echo "copied to your hard disk. This may take a while."
|
echo "copied to your hard disk. This may take a while."
|
||||||
|
|
Loading…
Reference in a new issue