summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/diskdrake
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/diskdrake
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/diskdrake')
-rwxr-xr-xperl-install/standalone/diskdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/diskdrake b/perl-install/standalone/diskdrake
index c7ad56590..38bb4e577 100755
--- a/perl-install/standalone/diskdrake
+++ b/perl-install/standalone/diskdrake
@@ -101,12 +101,12 @@ if ($type eq 'list-hd') {
if (!$raw_hd->{mntpoint}) {
my $mntpoint = detect_devices::suggest_mount_point($raw_hd);
$raw_hd->{mntpoint} ||= find { !fsedit::has_mntpoint($_, $all_hds) } map { "/mnt/$mntpoint$_" } '', 2 .. 10;
+ $raw_hd->{is_removable} = 1; #- force removable flag
my $useSupermount = 'magicdev';
require security::level;
require lang;
fs::set_default_options($raw_hd,
- is_removable => 1,
useSupermount => $useSupermount,
security => security::level::get(),
lang::fs_options(lang::read()));