From: Lukas Czerner Date: Fri, 12 Mar 2010 15:26:38 +0000 (-0600) Subject: xfstests: avoid blkid cache with -c /dev/null not -p X-Git-Tag: v1.1.0~182 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=833f57c0ade380fc1c5461e8184a6c07b69c581f;p=xfstests-dev.git 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 --- 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