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

Re: [Xen-devel] [PATCH] [RFC] sysfs support for xen linux

> Yes, true. I think privcmd might be more appropriate for /proc, but
> would like to see how it works as a binary file under /sys. ioctl's are
> not supported by sysfs that I can see, so privcmd would have to be a
> read/write interface.
> Regardless of privcmd there are numerous simple attributes related to
> Xen that are consistent with "zen" of sysfs. :-)

Agreed.  It's an ideal place for many of the things that are in proc, and many 
things we'd want to add in the future.

You could possibly abuse sysfs into supporting ioctl but I'm pretty sure the 
kernel people would find that quite distressing ;-)  I had the impression 
binary files under sysfs were also a no-no (all meant to be cat-able - 
addressing one of the other problems of /proc), but I could be mistaken.


> Just a question. What use is a unicyle with no seat?  And no pedals!
Me: To answer a question with a question: What use is a skateboard?
> Skateboards have wheels.
Me: My wheel has a wheel!

Xen-devel mailing list



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