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 | |
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)
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 19687e43c..abf57efc6 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -7,6 +7,8 @@ o do not allow fbdev if /proc/fb is empty o fix kbluetooth config path o fix autoconfiguration of harddisks +- drakupdate_fstab: make sure removable disks are not fs-checked on boot + (regression introduced in 10.6.3) Version 10.33 - 29 May 2008 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) { |