- Package:
- partman-ext3
- Source:
- partman-ext3
- Submitter:
- Petter Reinholdtsen
- Date:
- 2014-09-14 14:51:04 UTC
- Severity:
- wishlist
Hi. In bug report #638822 we discuss the wish to add user_attr and acl as file system options in Debian Edu to make samba exporting work better. But this do not work with d-i, as the acl option is not listed in the /lib/partman/mountoptions/ext4 file. According to the mount manual page, ext4 support the [no]acl option in a way that is backward compatible with ext3 and ext2. Would it be possible to add acl to the list of supported options in ext4?
Looking at /etc/mke2fs.conf, I see
[defaults]
base_features =
sparse_super,filetype,resize_inode,dir_index,ext_attr
default_mntopts = acl,user_xattr
And it looks like the ext4 fs created by d-i indeed has this default
mount options set (i.e. they don't need to be listed in fstab).
Is there something missing?
[Michael Biebl] Thank you. I guess I miss a way to verify that the acl and user_xattr options are enabled on a mounted file system. If I knew how to do that, I would not have asked for this change. :)
Petter Reinholdtsen <pere@hungry.com> (2014-09-14): tune2fs -l $foo, under "Default mount options"? Mraw, KiBi.
[Cyril Brulebois] Yeah, perhaps that is as close as I can get. I really want to know currently enabled options on a mounted file system, not what would be enabled if a device is mounted without options, but that seem to be hard to figure out.
Unfortunately /proc/mounts only shows whether the default options have been overwritten. You would need to combine the options listed there with the default options for the filesystem as shown by 'tune2fs -l'. Ben.