|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix losetup -r flag when we specify 'w!'
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201267372 0
# Node ID 78a29cf8476b6e6720edbfb4c89c3809be227ffe
# Parent 1a2f557448cf5de825d40e550140637961d2eb46
Fix losetup -r flag when we specify 'w!' for the disk mode.
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
tools/examples/block | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 1a2f557448cf -r 78a29cf8476b tools/examples/block
--- a/tools/examples/block Thu Jan 24 18:11:44 2008 +0000
+++ b/tools/examples/block Fri Jan 25 13:22:52 2008 +0000
@@ -329,7 +329,7 @@ mount it read-write in a guest domain."
if LANG=C losetup -h 2>&1 | grep read-only >/dev/null
then
- roflag="-$mode"; roflag="${roflag#-w}"
+ roflag="-$mode"; roflag="${roflag#-w}"; roflag="${roflag#-!}"
else
roflag=''
fi
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix losetup -r flag when we specify 'w!' for the disk mode.,
Xen patchbot-unstable <=
|
|
|
|
|