From: Hugh Dickins <hughd@xxxxxxxxxx> A tmpfs mount does not involve any block device, its $SCRATCH_DEV is nothing but a place-holder, so apply 'df' or 'stat' to its mount point $SCRATCH_MNT instead of to $SCRATCH_DEV. Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx> Signed-off-by: Junho Ryu <jayr@xxxxxxxxxx> Signed-off-by: Theodore Ts'o <tytso@xxxxxxx> --- tests/generic/273 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/273 b/tests/generic/273 index e5af7f1..0a4a600 100755 --- a/tests/generic/273 +++ b/tests/generic/273 @@ -68,7 +68,7 @@ _file_create() cd $SCRATCH_MNT/origin - _disksize=`$DF_PROG -B 1 $SCRATCH_DEV | tail -1 | $AWK_PROG '{ print $5 }'` + _disksize=`$DF_PROG -B 1 $SCRATCH_MNT | tail -1 | $AWK_PROG '{ print $5 }'` _disksize=$(($_disksize / 3)) _num=$(($_disksize / $count / $threads / 4096)) _count=$count -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html