Kumar, Venkat
2008-Oct-07 08:41 UTC
[Xen-devel] Creating a custom directory tree inside Xenstore
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@lists.xensource.com http://lists.xensource.com/xen-devel
Jayaraman, Bhaskar
2008-Oct-07 09:19 UTC
[Xen-devel] RE: Creating a custom directory tree inside Xenstore
Try #xenstore-write /local/domain/0/custom "" It will create a key with no value in the dom0''s xenstore tree. Bhaskar. ________________________________________ From: xen-devel-bounces@lists.xensource.com [xen-devel-bounces@lists.xensource.com] On Behalf Of Kumar, Venkat [Venkat.Kumar@lsi.com] Sent: Tuesday, October 07, 2008 4:41 AM To: xen-devel@lists.xensource.com Subject: [Xen-devel] Creating a custom directory tree inside Xenstore 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@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Oct-07 09:33 UTC
Re: [Xen-devel] Creating a custom directory tree inside Xenstore
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@lsi.com> 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@eu.citrix.com] > 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@lsi.com> 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@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Patrick Colp
2008-Oct-07 15:04 UTC
Re: [Xen-devel] Creating a custom directory tree inside Xenstore
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@lsi.com> 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@eu.citrix.com] >> 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@lsi.com> 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@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Maybe Matching Threads
- Xenstore-chmod equivalent Kernel(XenBus) API
- Possible cases for Hypercall "HYPERVISOR_event_channel_op(EVTCHNOP_send, &op)" failure
- Megaraid SAS driver failing in Xen-3.3.0 but was working in Xen-3.2.2-rc3
- RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT''S A BUG OR...)
- Xen-3.2.1 Build Error