summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakupdate_fstab
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-23 11:01:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-23 11:01:18 +0000
commit063fbe1dae400a8fb84d1e2c6f26db52972908be (patch)
tree5c01c57093f9202bf7e5c7ac2a8391e1dd54520b /perl-install/standalone/drakupdate_fstab
parent5a9b16239716ce14fb9c82831ca61dccc972875a (diff)
downloaddrakx-063fbe1dae400a8fb84d1e2c6f26db52972908be.tar
drakx-063fbe1dae400a8fb84d1e2c6f26db52972908be.tar.gz
drakx-063fbe1dae400a8fb84d1e2c6f26db52972908be.tar.bz2
drakx-063fbe1dae400a8fb84d1e2c6f26db52972908be.tar.xz
drakx-063fbe1dae400a8fb84d1e2c6f26db52972908be.zip
- do not pass options is_removable to set_default_options() since it is not a global options
- replace it with a flag in the part or raw_hd - set is_removable for part from usb drive - ensure usb partitions are not checked at boot time (freq field in fstab)
Diffstat (limited to 'perl-install/standalone/drakupdate_fstab')
-rwxr-xr-xperl-install/standalone/drakupdate_fstab2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab
index c015eafb8..17ace8761 100755
--- a/perl-install/standalone/drakupdate_fstab
+++ b/perl-install/standalone/drakupdate_fstab
@@ -85,8 +85,8 @@ sub device_name_to_entry {
sub set_options {
my ($part, $useSupermount) = @_;
+ $part->{is_removable} = 1; #- force removable flag
fs::set_default_options($part,
- is_removable => 1,
useSupermount => $useSupermount,
security => security::level::get(),
lang::fs_options(lang::read()));