Bug 429039 - dir_index can be removed from anaconda's tune2fs options
dir_index can be removed from anaconda's tune2fs options
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-16 18:02 EST by Eric Sandeen
Modified: 2008-01-16 18:28 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-16 18:28:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Eric Sandeen 2008-01-16 18:02:03 EST
setExt3Options in fsset.py tunes a few things:

        rc = iutil.execWithRedirect("tune2fs",
                                    ["-c0", "-i0", "-Odir_index",
                                     "-ouser_xattr,acl", devicePath],
                                    stdout = "/dev/tty5",
                                    stderr = "/dev/tty5", searchPath = 1)

-Odir_index is no longer necessary; it's part of the defaults in the binary and
mke2fs.conf:

const char *mke2fs_default_profile =
  "[defaults]\n"
  "     base_features = sparse_super,filetype,resize_inode,dir_index\n"
  "     blocksize = 4096\n"
  "     inode_ratio = 8192\n"
  "\n"
....

Not a big deal but no need to have redundant cruft in there.

Also, not sure why user_xattr & acl aren't default in ext3, but they're not
AFAICT so I guess they can stay here....

Thanks,
-Eric

Note You need to log in before you can comment on or make changes to this bug.