From: Ben Gras Date: Fri, 12 Aug 2005 09:52:29 +0000 (+0000) Subject: Progressbar for / X-Git-Tag: v3.1.0~360 X-Git-Url: http://zhaoyanbai.com/repos/host.html?a=commitdiff_plain;h=cbf7c4d476c655751eb41e485a1853cbf7655394;p=minix.git Progressbar for / --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index a48d21266..bf19d68e2 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -377,7 +377,8 @@ echo "absolutely sure that there can not be any bad blocks. Otherwise just wait readall -b /dev/$root | sh mount /dev/$root /mnt || exit # Running from the installation CD. -cpdir -vx / /mnt || exit +files="`find / -xdev | wc -l`" +cpdir -vx / /mnt || progressbar "$files" || exit chmod 555 /mnt/usr # CD remnants that aren't for the installed system