summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/fs.pm2
-rw-r--r--perl-install/fs/mount_options.pm2
3 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index ae9fa13ac..62e722772 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,7 @@
- localedrake
o drop support for iiimf
- list jmicron driver in disk/ide
+- library: have "defaults" mount option instead of empty string (for rescue)
Version 10.4.190 - 5 September 2007, by Thierry Vignaud
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 23c7547e9..48ecc2822 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -253,7 +253,7 @@ sub prepare_write_fstab {
my $file_dep = $options =~ /\b(loop|bind)\b/ ? $device : '';
- [ $file_dep, $mntpoint, $comment . join(' ', $device, $mntpoint, $fs_type, $options || 'defaults', $freq, $passno) . "\n" ];
+ [ $file_dep, $mntpoint, $comment . join(' ', $device, $mntpoint, $fs_type, $options, $freq, $passno) . "\n" ];
} else {
();
}
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm
index 3c8f1b283..f5faed630 100644
--- a/perl-install/fs/mount_options.pm
+++ b/perl-install/fs/mount_options.pm
@@ -103,7 +103,7 @@ sub pack_ {
}
sub pack {
my ($part, $options, $unknown) = @_;
- $part->{options} = pack_($part, $options, $unknown);
+ $part->{options} = pack_($part, $options, $unknown) || 'defaults';
noreturn();
}