From: Eric Sandeen <sandeen@redhat.com>
To: xfs-oss <xfs@oss.sgi.com>
Cc: Lukas Czerner <lczerner@redhat.com>
Subject: [PATCH] xfstests: avoid blkid cache with -c /dev/null not -p
Date: Mon, 08 Mar 2010 11:15:49 -0600 [thread overview]
Message-ID: <4B9530C5.30705@redhat.com> (raw)
From: Lukas Czerner <lczerner@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@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
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2010-03-08 17:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-08 17:15 Eric Sandeen [this message]
2010-03-12 10:01 ` [PATCH] xfstests: avoid blkid cache with -c /dev/null not -p Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B9530C5.30705@redhat.com \
--to=sandeen@redhat.com \
--cc=lczerner@redhat.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.