From f857e49b00c270f098fea5265380d6079ac4ae01 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 18 Feb 2003 13:09:26 +0000 Subject: don't use tmpfs on /tmp if /tmp is a separate partition (anyway, all this is ugly, see with titi) --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 6750e3e8a..75db21784 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -316,7 +316,7 @@ sub setupBootloader__general { } if ($prev_clean_tmp != $clean_tmp) { - if ($clean_tmp) { + if ($clean_tmp && !fsedit::has_mntpoint('/tmp', $all_hds)) { push @{$all_hds->{special}}, { device => 'none', mntpoint => '/tmp', type => 'tmpfs' }; } else { @{$all_hds->{special}} = grep { $_->{mntpoint} eq '/tmp' } @{$all_hds->{special}}; -- cgit v1.2.1