summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-02-13 13:58:18 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-02-13 13:58:18 +0000
commitcb57100088e9f741c80d7eca8caa377af79460dd (patch)
treed5156edf6b0c66e57d2899b8f3713a5892bb5373 /perl-install/fs.pm
parent451a8bcd5311b06cacb1c009b3068e6312dae540 (diff)
downloaddrakx-cb57100088e9f741c80d7eca8caa377af79460dd.tar
drakx-cb57100088e9f741c80d7eca8caa377af79460dd.tar.gz
drakx-cb57100088e9f741c80d7eca8caa377af79460dd.tar.bz2
drakx-cb57100088e9f741c80d7eca8caa377af79460dd.tar.xz
drakx-cb57100088e9f741c80d7eca8caa377af79460dd.zip
diskdrake: allow resizing on lvm for mounted ext3/4 and not mounted xfs
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index d95890cb3..07a23408a 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -232,7 +232,10 @@ sub prepare_write_fstab {
my ($freq, $passno) =
exists $_->{freq} ?
($_->{freq}, $_->{passno}) :
- isTrueLocalFS($_) && !$_->{dmcrypt_name} && $_->{options} !~ /encryption=/ && (!$_->{is_removable} || member($_->{mntpoint}, fs::type::directories_needed_to_boot())) ?
+ isTrueLocalFS($_) && !$_->{dmcrypt_name}
+ && $_->{options} !~ /encryption=/
+ && $_->{options} !~ /noauto/
+ && (!$_->{is_removable} || member($_->{mntpoint}, fs::type::directories_needed_to_boot())) ?
(1, $_->{mntpoint} eq '/' ? 1 : fs::type::carry_root_loopback($_) ? 0 : 2) :
(0, 0);