diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-06-12 14:20:49 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-06-12 14:20:49 +0000 |
commit | 0469709a39c49d33716b7f9cb4df5eda9a3ffe43 (patch) | |
tree | be35c3683c5c32cb98f34353cb384d60159e7093 /perl-install/standalone/drakupdate_fstab | |
parent | e45b29f87c8416f1e38ed4a4a52b852581888da4 (diff) | |
download | drakx-0469709a39c49d33716b7f9cb4df5eda9a3ffe43.tar drakx-0469709a39c49d33716b7f9cb4df5eda9a3ffe43.tar.gz drakx-0469709a39c49d33716b7f9cb4df5eda9a3ffe43.tar.bz2 drakx-0469709a39c49d33716b7f9cb4df5eda9a3ffe43.tar.xz drakx-0469709a39c49d33716b7f9cb4df5eda9a3ffe43.zip |
drakupdate_fstab: make sure removable disks are not fs-checked on boot (regression introduced in 10.6.3)
Diffstat (limited to 'perl-install/standalone/drakupdate_fstab')
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 72bb1d221..e72d33fca 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -78,6 +78,11 @@ sub device_name_to_entry { $e; } +sub set_options { + my ($part) = @_; + $part->{is_removable} = 1; +} + sub set_mount_point { my ($part, $fstab, $is_hd) = @_; @@ -130,6 +135,7 @@ sub configure_part { return; } set_mount_point($part, $fstab, $is_hd) or return; + set_options($part); my ($line) = fs::prepare_write_fstab([$part]); if ($line) { |