From 833f57c0ade380fc1c5461e8184a6c07b69c581f Mon Sep 17 00:00:00 2001 From: Lukas Czerner Date: Fri, 12 Mar 2010 09:26:38 -0600 Subject: [PATCH] xfstests: avoid blkid cache with -c /dev/null not -p The addition of "-p" to blkid calls broke xfstests on older systems where this was not supported. Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig --- common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common b/common index 9679b15d..828563de 100644 --- a/common +++ b/common @@ -47,7 +47,7 @@ rm -f $tmp.list $tmp.tmp $tmp.sed # Autodetect fs type based on what's on $TEST_DEV if [ "$HOSTOS" == "Linux" ] then - export FSTYP=`blkid -p -s TYPE -o value $TEST_DEV` + export FSTYP=`blkid -c /dev/null -s TYPE -o value $TEST_DEV` else export FSTYP=xfs fi -- 2.47.3