From: pschwan Date: Mon, 29 Apr 2002 22:20:00 +0000 (+0000) Subject: Create sparse files unless using one of the gzipped sizes. Waiting for X-Git-Tag: v1_7_100~5687 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=539e9344d87486b347b123a6230002ee2e35a1c4;p=fs%2Flustre-release.git Create sparse files unless using one of the gzipped sizes. Waiting for 6GB dd runs has lost all appeal. --- diff --git a/lustre/tests/common.sh b/lustre/tests/common.sh index 0ab797f..4bf1505 100644 --- a/lustre/tests/common.sh +++ b/lustre/tests/common.sh @@ -67,8 +67,8 @@ new_fs () { zcat "$EFILE" > $2 || exit -1 sync else - echo "creating new filesystem on $2" - dd if=/dev/zero of=$2 bs=1k count=$3 1>&2 || exit -1 + echo "creating new sparse filesystem on $2" + dd if=/dev/zero of=$2 bs=1k seek=$3 count=1 1>&2 || exit -1 $MKFS $MKFSOPT -F $2 1>&2 || exit -1 fi LOOPDEV=`next_loop_dev`