From: Christoph Hellwig Date: Tue, 2 Aug 2011 10:20:43 +0000 (+0200) Subject: add nfs4 support X-Git-Tag: v1.1.0~26 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7d920166178e6f8b13da9200f7a8edbcc6e4a7aa;p=xfstests-dev.git add nfs4 support Signed-off-by: Christoph Hellwig Tested-by: Jim Rees --- diff --git a/common.rc b/common.rc index a5378ddf..2cbcb73a 100644 --- a/common.rc +++ b/common.rc @@ -558,7 +558,13 @@ _fs_type() exit 1 fi - _df_device $1 | $AWK_PROG '{ print $2 }' + # + # The Linux kernel shows NFSv4 filesystems in df output as + # filesystem type nfs4, although we mounted it as nfs earlier. + # Fix the filesystem type up here so that the callers don't + # have to bother with this quirk. + # + _df_device $1 | $AWK_PROG '{ print $2 }' | sed -e 's/nfs4/nfs/' } # return the FS mount options of a mounted device