All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Colp <pjcolp@cs.ubc.ca>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: "'xen-devel@lists.xensource.com'" <xen-devel@lists.xensource.com>,
	"Kumar, Venkat" <Venkat.Kumar@lsi.com>
Subject: Re: Creating a custom directory tree inside Xenstore
Date: Tue, 07 Oct 2008 08:04:10 -0700	[thread overview]
Message-ID: <48EB7A6A.2040207@cs.ubc.ca> (raw)
In-Reply-To: <C510EB95.27ABE%keir.fraser@eu.citrix.com>

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

  reply	other threads:[~2008-10-07 15:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2008-10-07  8:41 Kumar, Venkat
2008-10-07  9:19 ` Jayaraman, Bhaskar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48EB7A6A.2040207@cs.ubc.ca \
    --to=pjcolp@cs.ubc.ca \
    --cc=Venkat.Kumar@lsi.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.