Skip to contentSkip to conversation

xfstests: avoid blkid cache with -c /dev/null not -p

PATCH In review Eric Sandeen 2 participants 2 messages Mar 8, 2010 – Mar 12, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfstests: avoid blkid cache with -c /dev/null not -p

From: Lukas Czerner <[email protected]>

The addition of "-p" to blkid calls broke xfstests on older systems where this was not supported.

---
 common |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
common +1 -1
index 9679b15..828563d 100644
@@ -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

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs