summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-12-30 21:49:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-12-30 21:49:53 +0000
commit1626bb197847f87e904a88482207455bdd94d7f0 (patch)
tree08513bfa9a2ea88d9e06e3fc97f8dafea5954026 /perl-install
parent25a4eeb6320f691b22bfe18891288087c6d64093 (diff)
downloaddrakx-1626bb197847f87e904a88482207455bdd94d7f0.tar
drakx-1626bb197847f87e904a88482207455bdd94d7f0.tar.gz
drakx-1626bb197847f87e904a88482207455bdd94d7f0.tar.bz2
drakx-1626bb197847f87e904a88482207455bdd94d7f0.tar.xz
drakx-1626bb197847f87e904a88482207455bdd94d7f0.zip
format home directories with "-m 0" for ext2&ext3, so that the root reserved part is 0% (and not 5%)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index c0783d945..160d939a3 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -493,8 +493,10 @@ sub real_format_part {
if (isExt2($part)) {
push @options, "-F" if isLoopback($part);
+ push @options, "-m", "0" if $part->{mntpoint} =~ m|^/home|;
format_ext2($part->{device}, @options);
} elsif (isThisFs("ext3", $part)) {
+ push @options, "-m", "0" if $part->{mntpoint} =~ m|^/home|;
format_ext3($part->{device}, @options);
} elsif (isThisFs("reiserfs", $part)) {
format_reiserfs($part->{device}, @options, if_(c::kernel_version() =~ /^\Q2.2/, "-v", "1"));