summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-27 12:08:44 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-27 12:08:44 +0000
commit0f2b305002af0e6212f693ba0230392c47bc4ac5 (patch)
treeac76fe73fb749d25761045600ed19463a32a5e0f /perl-install/fs
parentb16899b79fb6d21aee952d0034c00838ada6a378 (diff)
downloaddrakx-0f2b305002af0e6212f693ba0230392c47bc4ac5.tar
drakx-0f2b305002af0e6212f693ba0230392c47bc4ac5.tar.gz
drakx-0f2b305002af0e6212f693ba0230392c47bc4ac5.tar.bz2
drakx-0f2b305002af0e6212f693ba0230392c47bc4ac5.tar.xz
drakx-0f2b305002af0e6212f693ba0230392c47bc4ac5.zip
only allow 'acl' option for extX & reiserfs (mga#9884)
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/mount_options.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm
index 29c09ae79..38b8077fe 100644
--- a/perl-install/fs/mount_options.pm
+++ b/perl-install/fs/mount_options.pm
@@ -12,7 +12,7 @@ sub list() {
my %non_defaults = (
sync => 'async', noatime => 'atime', noauto => 'auto', ro => 'rw',
user => 'nouser', nodev => 'dev', noexec => 'exec', nosuid => 'suid',
- user_xattr => 'nouser_xattr', acl => 'noacl',
+ user_xattr => 'nouser_xattr',
);
my @user_implies = qw(noexec nodev nosuid);
\%non_defaults, \@user_implies;
@@ -35,6 +35,7 @@ sub unpack {
reiserfs => [ 'notail' ],
);
push @{$per_fs{$_}}, 'usrquota', 'grpquota' foreach 'ext2', 'ext3', 'ext4', 'xfs';
+ push @{$per_fs{$_}}, 'acl' foreach 'ext2', 'ext3', 'ext4', 'reiserfs';
while (my ($fs, $l) = each %per_fs) {
$part->{fs_type} eq $fs || $part->{fs_type} eq 'auto' && member($fs, @auto_fs) or next;