[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] Fix losetup -r flag when we specify 'w!' for the disk mode.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1201516668 0 # Node ID af5e5b1a7c892fadca57fd4634fab6deb8e4d2db # Parent f3a62e21b666b3ca553ac38e0cecee71e6a60220 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> xen-unstable changeset: 16880:78a29cf8476b6e6720edbfb4c89c3809be227ffe xen-unstable date: Fri Jan 25 13:22:52 2008 +0000 --- tools/examples/block | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r f3a62e21b666 -r af5e5b1a7c89 tools/examples/block --- a/tools/examples/block Thu Jan 24 14:58:25 2008 +0000 +++ b/tools/examples/block Mon Jan 28 10:37:48 2008 +0000 @@ -369,7 +369,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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |