WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

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

To: "Mike D. Day" <ncmike@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [RFC] sysfs support for xen linux
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: 2006年1月11日 16:28:49 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年1月11日 16:48:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43C53237.2020802@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43C53237.2020802@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
> 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.
Cheers,
Mark
-- 
> 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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Essay on an important Xen decision (long) , Anthony Liguori
Next by Date: Re: [Xen-devel] [PATCH] [RFC] sysfs support for xen linux , Ronald G Minnich
Previous by Thread: Re: [Xen-devel] [PATCH] [RFC] sysfs support for xen linux , Mike D. Day
Next by Thread: Re: [Xen-devel] [PATCH] [RFC] sysfs support for xen linux , Anthony Liguori
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /