This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] Added mkdir -p $XENDOMAINS_SAVE, to ensure that the dire

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Added mkdir -p $XENDOMAINS_SAVE, to ensure that the directory exists before
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Dec 2005 13:08:08 +0000
Delivery-date: Wed, 14 Dec 2005 13:10:06 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID a55d4a167203e867ee280e3544a8bad769f0e75b
# Parent  f85f52b508c365da0255870ff7325980dd8f78fe
Added mkdir -p $XENDOMAINS_SAVE, to ensure that the directory exists before
trying to save into it.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r f85f52b508c3 -r a55d4a167203 tools/examples/init.d/xendomains
--- a/tools/examples/init.d/xendomains  Wed Dec 14 11:54:39 2005
+++ b/tools/examples/init.d/xendomains  Wed Dec 14 11:56:25 2005
@@ -347,6 +347,7 @@
            echo -n "(save)"
            watchdog_xm save &
+           mkdir -p "$XENDOMAINS_SAVE"
            xm save $id $XENDOMAINS_SAVE/$name
            if test $? -ne 0; then
                rc_failed $?

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Added mkdir -p $XENDOMAINS_SAVE, to ensure that the directory exists before, Xen patchbot -unstable <=