[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-tools] [PATCH] Xenstore mkdir/write implicitly create directories



On Thu, Aug 25, 2005 at 01:06:26PM +1000, Rusty Russell wrote:
> On Wed, 2005-08-24 at 09:15 +0100, Christian Limpach wrote:
> > Hi Rusty!
> > 
> > >   I'm working on making the xenstore init/restart more robust.  My idea
> > > is to introduce a "--init" option which means "blow away any data in the
> > > store, we're starting fresh" for use at boot time, and a "--restart"
> > > which shuts down the old xenstored and gracefully takes over (upgrades).
> > 
> > Sounds good, although wouldn't it be just as easy (and maybe a little
> > more flexible) to implement the --init option in a seperate tool?
> 
> It's tempting, but that means exporting knowledge about the
> representation the store uses, which I'd prefer not to do.  And we
> already have the code to destroy directories, so it's not at all
> difficult.

That's why the cleanup tool should talk to xenstored to do the cleanup.

    christian


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.