| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 7/9] Set default extN mount options |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Wed, 27 May 2009 13:53:31 -0500 |
| Cc: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| In-reply-to: | <1243450413-12681-1-git-send-email-sandeen@xxxxxxxxxxx> |
| References: | <1243450413-12681-1-git-send-email-sandeen@xxxxxxxxxxx> |
ext2/3/4 don't support acls & attrs w/o specific mount
options, so make those the default whenever we mount
these filesystems.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
---
common.rc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/common.rc b/common.rc
index 78514f4..54c36f3 100644
--- a/common.rc
+++ b/common.rc
@@ -49,6 +49,10 @@ _mount_opts()
nfs)
export MOUNT_OPTIONS=$NFS_MOUNT_OPTIONS
;;
+ ext2|ext3|ext4)
+ # acls & xattrs aren't turned on by default on ext$FOO
+ export MOUNT_OPTIONS="-o acl,user_xattr $EXT_MOUNT_OPTIONS"
+ ;;
*)
;;
esac
@@ -585,7 +589,7 @@ _require_scratch()
_notrun "this test requires a valid \$SCRATCH_DEV"
fi
;;
- nfs*|ext2|ext3|reiserfs)
+ nfs*|ext2|ext3|ext4|reiserfs)
echo $SCRATCH_DEV | grep -q ":" > /dev/null 2>&1
if [ ! -z "$SCRATCH_DEV" -a ! -b "$SCRATCH_DEV" -a "$?" != "0"
]
then
--
1.5.5.6
|
| Previous by Date: | [PATCH 3/9] Support "generic" filesystem type, Eric Sandeen |
|---|---|
| Next by Date: | [PATCH 9/9] Report which tests did get run, Eric Sandeen |
| Previous by Thread: | Re: [PATCH 3/9] Support "generic" filesystem type, Christoph Hellwig |
| Next by Thread: | Re: [PATCH 7/9] Set default extN mount options, Michael Monnerie |
| Indexes: | [Date] [Thread] [Top] [All Lists] |