* Re: Creating a custom directory tree inside Xenstore
[not found] <532F993CC2E6654CADFE057ADC6C2FA31BA6610FAE@hkgmail01.lsi.com>
@ 2008-10-07 9:33 ` Keir Fraser
2008-10-07 15:04 ` Patrick Colp
0 siblings, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2008-10-07 9:33 UTC (permalink / raw)
To: Kumar, Venkat; +Cc: 'xen-devel@lists.xensource.com'
[-- Attachment #1.1: Type: text/plain, Size: 1449 bytes --]
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
>
>
[-- Attachment #1.2: Type: text/html, Size: 3705 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Creating a custom directory tree inside Xenstore
2008-10-07 9:33 ` Creating a custom directory tree inside Xenstore Keir Fraser
@ 2008-10-07 15:04 ` Patrick Colp
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Colp @ 2008-10-07 15:04 UTC (permalink / raw)
To: Keir Fraser; +Cc: 'xen-devel@lists.xensource.com', Kumar, Venkat
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Creating a custom directory tree inside Xenstore
@ 2008-10-07 8:41 Kumar, Venkat
2008-10-07 9:19 ` Jayaraman, Bhaskar
0 siblings, 1 reply; 4+ messages in thread
From: Kumar, Venkat @ 2008-10-07 8:41 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 165 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2516 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Creating a custom directory tree inside Xenstore
2008-10-07 8:41 Kumar, Venkat
@ 2008-10-07 9:19 ` Jayaraman, Bhaskar
0 siblings, 0 replies; 4+ messages in thread
From: Jayaraman, Bhaskar @ 2008-10-07 9:19 UTC (permalink / raw)
To: Kumar, Venkat, xen-devel@lists.xensource.com
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-07 15:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <532F993CC2E6654CADFE057ADC6C2FA31BA6610FAE@hkgmail01.lsi.com>
2008-10-07 9:33 ` Creating a custom directory tree inside Xenstore Keir Fraser
2008-10-07 15:04 ` Patrick Colp
2008-10-07 8:41 Kumar, Venkat
2008-10-07 9:19 ` Jayaraman, Bhaskar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.