Commit 8c544666 authored by Mike Hibler's avatar Mike Hibler

Get rid of short-lived hack to use "ada" rather than "da" for FBSD10 VMs.

parent 65de520b
...@@ -3598,11 +3598,6 @@ sub FindExtraFSConfig($) ...@@ -3598,11 +3598,6 @@ sub FindExtraFSConfig($)
foreach my $disk (@disks) { foreach my $disk (@disks) {
my ($dev,$path) = split(":", $disk); my ($dev,$path) = split(":", $disk);
if (defined($path) && $path eq $mountpoint) { if (defined($path) && $path eq $mountpoint) {
# FreeBSD PVHVMs use "ada" rather than "da"
if ($XENVM && $FBSD_VERSION >= 10.0 &&
$dev =~ /^da(\d+)$/) {
$dev = "ada$1";
}
return $dev; return $dev;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment