diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-01-27 19:38:46 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-01-27 19:38:46 -0500 |
commit | 0d1de232a81354a89fdcd1df77531dec07685e2f (patch) | |
tree | 37f3652d501586c2929a923e1c22b2ddedd8ae1c /misc | |
parent | b1631cce648ee87e39b602899d77ad59a81acc66 (diff) | |
download | e2fsprogs-0d1de232a81354a89fdcd1df77531dec07685e2f.tar.gz |
Create filesystems with the ext_attr feature by default
Since recent kernels have a tendency to set this feature willy-nilly,
let's just enable by default. It's only very old kernels that don't
support it any more.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mke2fs.c | 3 | ||||
-rw-r--r-- | misc/mke2fs.conf | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/misc/mke2fs.c b/misc/mke2fs.c index e754d6b4..ede6722e 100644 --- a/misc/mke2fs.c +++ b/misc/mke2fs.c @@ -873,7 +873,8 @@ static __u32 ok_features[3] = { EXT3_FEATURE_COMPAT_HAS_JOURNAL | EXT2_FEATURE_COMPAT_RESIZE_INODE | EXT2_FEATURE_COMPAT_DIR_INDEX | - EXT2_FEATURE_COMPAT_LAZY_BG, /* Compat */ + EXT2_FEATURE_COMPAT_LAZY_BG | + EXT2_FEATURE_COMPAT_EXT_ATTR, /* Compat */ EXT2_FEATURE_INCOMPAT_FILETYPE| /* Incompat */ EXT3_FEATURE_INCOMPAT_JOURNAL_DEV| EXT2_FEATURE_INCOMPAT_META_BG, diff --git a/misc/mke2fs.conf b/misc/mke2fs.conf index 171b6bca..d67593a0 100644 --- a/misc/mke2fs.conf +++ b/misc/mke2fs.conf @@ -1,5 +1,5 @@ [defaults] - base_features = sparse_super,filetype,resize_inode,dir_index + base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr blocksize = 4096 inode_size = 256 inode_ratio = 16384 |