summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-17 11:51:29 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-17 11:51:29 +0000
commitd1098abfb443fb7cf8cbc97ad96a303fa5c749f8 (patch)
treef4fdf2f84e041b554bd964cc5de47a8c95b203da /perl-install/devices.pm
parent1d2aeea6110b4e3b8db35e33f5543153a8b41bc6 (diff)
downloaddrakx-d1098abfb443fb7cf8cbc97ad96a303fa5c749f8.tar
drakx-d1098abfb443fb7cf8cbc97ad96a303fa5c749f8.tar.gz
drakx-d1098abfb443fb7cf8cbc97ad96a303fa5c749f8.tar.bz2
drakx-d1098abfb443fb7cf8cbc97ad96a303fa5c749f8.tar.xz
drakx-d1098abfb443fb7cf8cbc97ad96a303fa5c749f8.zip
- bootloader-config:
o --action migrate-to-uuids: do not migrate software raid to UUID (#43928) also fix a small typo in bootloader-config
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 9ee3d6ac5..8e7ff8f1a 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -208,6 +208,11 @@ sub prefix_for_dev {
$dev . ($dev =~ /\d$/ ? 'p' : '');
}
+sub should_prefer_UUID {
+ my ($dev) = @_;
+ $dev =~ /^(hd|sd)/;
+}
+
sub symlink_now_and_register {
my ($if_struct, $of) = @_;
my $if = $if_struct->{device};