WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Creating a custom directory tree inside Xenstore

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Creating a custom directory tree inside Xenstore
From: Patrick Colp <pjcolp@xxxxxxxxx>
Date: Tue, 07 Oct 2008 08:04:10 -0700
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Kumar, Venkat" <Venkat.Kumar@xxxxxxx>
Delivery-date: Tue, 07 Oct 2008 08:04:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C510EB95.27ABE%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C510EB95.27ABE%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.17 (X11/20080925)
While Keir is right and you can put children in a node with data, it should be noted that the XenStore protocol suggests that you should not do this (i.e. a node should contain either data or children, but not both).

There is work being done on a new XenStore designed to fix the security and performance problems with the current version and this is one problem that is slated to be fixed.


Patrick


Keir Fraser wrote:
Oh, my mistake, there is no such command. However, you don't actually need
to create directories explicitly. You can just write to e.g., /a/b/c and
directories a and b will be created automatically. Also there's really no
difference between a directory and a file, so you can e.g., 'xenstore-write
/a foo' and then even though /a contains data you can still create /a/b.

 -- Keir

On 7/10/08 10:11, "Kumar, Venkat" <Venkat.Kumar@xxxxxxx> wrote:

Thanks Keir, is it added newly in Xen-3.4.
I see only the following commands.
xenstore xenstore-control xenstore-exists xenstore-ls xenstore-rm
xenstore-chmod    xenstored        xenstore-list     xenstore-read
xenstore-write in my xenstore utils.
I am using Xen-3.3.0. Thx,
Venkat

From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
Sent: Tuesday, October 07, 2008 2:32 PM
To: Kumar, Venkat
Subject: Re: [Xen-devel] Creating a custom directory tree inside Xenstore
xenstore-mkdir

On 7/10/08 09:41, "Kumar, Venkat" <Venkat.Kumar@xxxxxxx> wrote:
Is it possible to create a custom directory tree inside Xenstore using any of
the Xenstore-utilities??
For example, ³/local/domain/0/Customdir².


Thx,
Venkat


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel




------------------------------------------------------------------------

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>