From f2929b6fd89ca52a12b18d154d3a5b44c40c4e9a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 28 Jan 2005 09:31:40 +0000 Subject: - create fs::type::directories_needed_to_boot() and use it - for removable drives used for / /usr and the like, ensure we check it at boot time (bugzilla #13283) --- perl-install/fs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs.pm') diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 38d55ac89..8cdead039 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -308,7 +308,7 @@ sub prepare_write_fstab { my ($freq, $passno) = exists $_->{freq} ? ($_->{freq}, $_->{passno}) : - isTrueLocalFS($_) && $_->{options} !~ /encryption=/ && !$_->{is_removable} ? + isTrueLocalFS($_) && $_->{options} !~ /encryption=/ && (!$_->{is_removable} || member($_->{mntpoint}, fs::type::directories_needed_to_boot())) ? (1, $_->{mntpoint} eq '/' ? 1 : loopback::carryRootLoopback($_) ? 0 : 2) : (0, 0); -- cgit v1.2.1