[PATCH 7/9] Set default extN mount options

Michael Monnerie michael.monnerie at is.it-management.at
Fri May 29 01:37:17 CDT 2009


On Donnerstag 28 Mai 2009 Eric Sandeen wrote:
> 'd be happy to include support for reiserfs as well.  I'd be even
> happier if you tested this yourself and sent patches to make it work
> :)

I'm not a coder, really, but just changing your line:
+    ext2|ext3|ext4)
to:
+    ext2|ext3|ext4|reiserfs)
does the job here. I meant that part:

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"

I never used xfstest as well, and won't realistically have time to do 
it.

mfg zmi
-- 
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20090529/ca1e0dff/attachment.sig>


More information about the xfs mailing list