Commit 83c81921 authored by Mike Hibler's avatar Mike Hibler

Argh! Fubared an RE back when I added NVME support.

placement==SYSVOL blockstores would not work on Linux because of this.
parent 793e3b76
......@@ -285,8 +285,8 @@ sub get_partsize($)
return $size;
}
while (<FD>) {
if (/^\s+\d+\s+\d+\s+(\d+)\s+((?:xvd|sd)[a-z][a-z]?)(?:\d+)?/ ||
/^\s+\d+\s+\d+\s+(\d+)\s+(nvme\d+n\d+)(?:p\d+)?/) {
if (/^\s+\d+\s+\d+\s+(\d+)\s+((?:xvd|sd)[a-z][a-z]?(?:\d+)?)/ ||
/^\s+\d+\s+\d+\s+(\d+)\s+(nvme\d+n\d+(?:p\d+)?)/) {
my ($_size,$_dev) = ($1,$2);
if ($dev eq $_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