diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-02-09 17:28:54 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-02-09 17:28:54 +0000 |
commit | f6a6c074b5a9bd50c5437607c31d0b14a25982ef (patch) | |
tree | dfd8d76f935fc02ff47db84d7f462b3966e09f63 /perl-install | |
parent | abc4ee583d4eada449c839f563720dfe24ba5bc8 (diff) | |
download | drakx-backup-do-not-use-f6a6c074b5a9bd50c5437607c31d0b14a25982ef.tar drakx-backup-do-not-use-f6a6c074b5a9bd50c5437607c31d0b14a25982ef.tar.gz drakx-backup-do-not-use-f6a6c074b5a9bd50c5437607c31d0b14a25982ef.tar.bz2 drakx-backup-do-not-use-f6a6c074b5a9bd50c5437607c31d0b14a25982ef.tar.xz drakx-backup-do-not-use-f6a6c074b5a9bd50c5437607c31d0b14a25982ef.zip |
- Save the info that a disk is removable
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 2 | ||||
-rw-r--r-- | perl-install/fsedit.pm | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index e266d0443..c68c9a25b 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -148,6 +148,8 @@ struct hd { list allPartitionsRenumbered # used to update bootloader configuration int bus, id + bool is_removable # is it a removable drive + partition_table_elem primary partition_table_elem extended[] diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 17ed0647b..25d6ce9e5 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -276,6 +276,7 @@ Do you agree to lose all the partitions? } if ($hd->{usb_media_type}) { + $hd->{is_removable} = 1; $_->{is_removable} = 1 foreach @parts; } |