From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Colp Subject: Re: Creating a custom directory tree inside Xenstore Date: Tue, 07 Oct 2008 08:04:10 -0700 Message-ID: <48EB7A6A.2040207@cs.ubc.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "'xen-devel@lists.xensource.com'" , "Kumar, Venkat" List-Id: xen-devel@lists.xenproject.org While Keir is right and you can put children in a node with data, it=20 should be noted that the XenStore protocol suggests that you should not=20 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=20 and performance problems with the current version and this is one=20 problem that is slated to be fixed. Patrick Keir Fraser wrote: > Oh, my mistake, there is no such command. However, you don't actually n= eed > to create directories explicitly. You can just write to e.g., /a/b/c an= d > 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-w= rite > /a foo' and then even though /a contains data you can still create /a/b= . >=20 > -- Keir >=20 > On 7/10/08 10:11, "Kumar, Venkat" wrote: >=20 >> Thanks Keir, is it added newly in Xen-3.4. >> I see only the following commands. >> =20 >> xenstore xenstore-control xenstore-exists xenstore-ls xenst= ore-rm >> xenstore-chmod xenstored xenstore-list xenstore-read >> xenstore-write in my xenstore utils. >> =20 >> I am using Xen-3.3.0. >> =20 >> Thx, >> Venkat >> =20 >> =20 >> >> >> From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] >> Sent: Tuesday, October 07, 2008 2:32 PM >> To: Kumar, Venkat >> Subject: Re: [Xen-devel] Creating a custom directory tree inside Xenst= ore >> =20 >> xenstore-mkdir >> >> On 7/10/08 09:41, "Kumar, Venkat" wrote: >> Is it possible to create a custom directory tree inside Xenstore using= any of >> the Xenstore-utilities?? >> For example, =B3/local/domain/0/Customdir=B2. >> >> >> Thx, >> Venkat >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> =20 >> >=20 >=20 >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel