From: Ben Gras Date: Sat, 22 Oct 2005 20:43:02 +0000 (+0000) Subject: Don't zero before if you zero after X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=refs%2Fheads%2FR3.1.1;p=minix.git Don't zero before if you zero after --- diff --git a/tools/release.sh b/tools/release.sh index 525ad02bd..4985cb82e 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -163,8 +163,6 @@ echo " * Cleanup old files" rm -rf $RELEASEDIR $ISO $IMAGE $ROOTIMAGE $ISOGZ $CDFILES mkdir -p $CDFILES || exit mkdir -p $RELEASEDIR -echo " * Zeroing $RAM" -dd if=/dev/zero of=$RAM bs=$BS count=$ROOTBLOCKS mkfs -B $BS -b $ROOTBLOCKS $RAM || exit mkfs $TMPDISK2 || exit echo " * mounting $RAM as $RELEASEDIR" @@ -173,8 +171,6 @@ mkdir -m 755 $RELEASEDIR/usr mkdir -m 1777 $RELEASEDIR/tmp mount $TMPDISK2 $RELEASEDIR/tmp -echo " * Zeroing $TMPDISK" -#dd if=/dev/zero of=$TMPDISK bs=$BS count=$USRBLOCKS mkfs -B $BS -b $USRBLOCKS $TMPDISK || exit echo " * Mounting $TMPDISK as $RELEASEDIR/usr" mount $TMPDISK $RELEASEDIR/usr || exit