git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8af59c
)
resize: Fix canonical device function (RHBZ#655554).
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 23 Nov 2010 09:47:34 +0000
(09:47 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 23 Nov 2010 09:48:04 +0000
(09:48 +0000)
tools/virt-resize
patch
|
blob
|
history
diff --git
a/tools/virt-resize
b/tools/virt-resize
index
8a473ca
..
2d8e0f1
100755
(executable)
--- a/
tools/virt-resize
+++ b/
tools/virt-resize
@@
-1394,7
+1394,7
@@
sub canonicalize
{
local $_ = shift;
- if (m{^/dev/[hv]d([a-z]\d)$}) {
+ if (m{^/dev/[hv]d([a-z]\d
*
)$}) {
return "/dev/sd$1";
}
$_;