| To: | xfs-oss <xfs@xxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] xfstests: avoid blkid cache with -c /dev/null not -p |
| From: | Eric Sandeen <sandeen@xxxxxxxxxx> |
| Date: | Mon, 08 Mar 2010 11:15:49 -0600 |
| Cc: | Lukas Czerner <lczerner@xxxxxxxxxx> |
| User-agent: | Thunderbird 2.0.0.23 (Macintosh/20090812) |
From: Lukas Czerner <lczerner@xxxxxxxxxx>
The addition of "-p" to blkid calls broke xfstests
on older systems where this was not supported.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
---
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH, RFC] xfs: add discard support, Christoph Hellwig |
|---|---|
| Next by Date: | Re: XFS hang during xfs_fsr run, Eric Sandeen |
| Previous by Thread: | [PATCH, RFC] xfs: add discard support, Christoph Hellwig |
| Next by Thread: | Re: [PATCH] xfstests: avoid blkid cache with -c /dev/null not -p, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |