summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakupdate_fstab6
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) {