2010-09-28 00:07:21 +02:00
|
|
|
Index: xen-4.0.1-testing/tools/python/xen/util/blkif.py
|
2010-08-01 17:25:18 +02:00
|
|
|
===================================================================
|
2010-09-28 00:07:21 +02:00
|
|
|
--- xen-4.0.1-testing.orig/tools/python/xen/util/blkif.py
|
|
|
|
+++ xen-4.0.1-testing/tools/python/xen/util/blkif.py
|
2010-08-01 17:25:18 +02:00
|
|
|
@@ -81,7 +81,7 @@ def parse_uname(uname):
|
|
|
|
|
|
|
|
if typ == "drbd":
|
|
|
|
if not fn.startswith("drbd"):
|
|
|
|
- (drbdadmstdin, drbdadmstdout) = os.popen2(["/sbin/drbdadm", "sh-dev", fn])
|
|
|
|
+ (drbdadmstdin, drbdadmstdout) = os.popen2("/sbin/drbdadm "+"sh-dev "+fn)
|
|
|
|
fn = drbdadmstdout.readline().strip()
|
|
|
|
else:
|
|
|
|
fn = "/dev/%s" %(fn,)
|