[PATCH] xfstests: avoid blkid cache with -c /dev/null not -p
Eric Sandeen
sandeen at redhat.com
Mon Mar 8 11:15:49 CST 2010
From: Lukas Czerner <lczerner at redhat.com>
The addition of "-p" to blkid calls broke xfstests
on older systems where this was not supported.
Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
---
common | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common b/common
index 9679b15..828563d 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
More information about the xfs
mailing list