Fix description for virtio disks

This commit is contained in:
Jamie Cameron
2010-10-06 18:06:34 -07:00
parent 13b2b35883
commit e6728e53cc

View File

@@ -2530,11 +2530,13 @@ if (!$text{'select_part'}) {
$text{$k} = $flang{$k} if ($k =~ /^select_/);
}
}
return $_[0] =~ /^\/dev\/(s|h|xv)d([a-z]+)(\d+)$/ ?
&text('select_part', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' : 'IDE',
return $_[0] =~ /^\/dev\/(s|h|xv|v)d([a-z]+)(\d+)$/ ?
&text('select_part', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' :
$1 eq 'v' ? 'VirtIO' : 'IDE',
uc($2), "$3") :
$_[0] =~ /^\/dev\/(s|h|xv)d([a-z]+)$/ ?
&text('select_device', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' : 'IDE',
$_[0] =~ /^\/dev\/(s|h|xv|v)d([a-z]+)$/ ?
&text('select_device', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' :
$1 eq 'v' ? 'VirtIO' : 'IDE',
uc($2)) :
$_[0] =~ /rd\/c(\d+)d(\d+)p(\d+)$/ ?
&text('select_mpart', "$1", "$2", "$3") :