Kumar, Venkat
2008-Oct-08 08:18 UTC
[Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API
Which is the Kernel API (Xenbus API) that is available to do a similar action as "xenstore-chmod"?? Thx, Venkat _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Oct-08 08:31 UTC
Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API
There isn¹t one, so you¹d have to add it. I¹m not sure what legitimate uses the kernel might have for this functionality, however. -- Keir On 8/10/08 09:18, "Kumar, Venkat" <Venkat.Kumar@lsi.com> wrote:> Which is the Kernel API (Xenbus API) that is available to do a similar action > as ³xenstore-chmod²?? > > > 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
Kumar, Venkat
2008-Oct-08 08:36 UTC
RE: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API
Ok, Thanks Keir. I will figure it out. Thx, Venkat ________________________________ From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] Sent: Wednesday, October 08, 2008 2:02 PM To: Kumar, Venkat; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API There isn''t one, so you''d have to add it. I''m not sure what legitimate uses the kernel might have for this functionality, however. -- Keir On 8/10/08 09:18, "Kumar, Venkat" <Venkat.Kumar@lsi.com> wrote: Which is the Kernel API (Xenbus API) that is available to do a similar action as "xenstore-chmod"?? 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
Kumar, Venkat
2008-Oct-08 10:13 UTC
RE: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API
Keir, I am unable to give both read and write permissions at a time for a node in Xenstore. For example Xenstore-chmod /local/domain/0/customdir rw just gives read permissions,/local/domain/0/customdir wr gives write permissions,r+w, w+r nothing works.It is considering the first mode only. Is there some specific syntax which I am missing?? Thx, Venkat ________________________________ From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] Sent: Wednesday, October 08, 2008 2:02 PM To: Kumar, Venkat; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API There isn''t one, so you''d have to add it. I''m not sure what legitimate uses the kernel might have for this functionality, however. -- Keir On 8/10/08 09:18, "Kumar, Venkat" <Venkat.Kumar@lsi.com> wrote: Which is the Kernel API (Xenbus API) that is available to do a similar action as "xenstore-chmod"?? 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
Keir Fraser
2008-Oct-08 10:27 UTC
Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API
xenstore-chmod /local/domain/0/custmdir b The syntax is pretty stupid. -- Keir On 8/10/08 11:13, "Kumar, Venkat" <Venkat.Kumar@lsi.com> wrote:> Keir, I am unable to give both read and write permissions at a time for a node > in Xenstore. > > For example Xenstore-chmod /local/domain/0/customdir rw just gives read > permissions,/local/domain/0/customdir wr gives write permissions,r+w, w+r > nothing works.It is considering the first mode only. > > Is there some specific syntax which I am missing?? > > Thx, > Venkat > > > > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: Wednesday, October 08, 2008 2:02 PM > To: Kumar, Venkat; xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API > > There isn¹t one, so you¹d have to add it. I¹m not sure what legitimate uses > the kernel might have for this functionality, however. > > -- Keir > > On 8/10/08 09:18, "Kumar, Venkat" <Venkat.Kumar@lsi.com> wrote: > Which is the Kernel API (Xenbus API) that is available to do a similar action > as ³xenstore-chmod²?? > > > 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