From: Keir Fraser Subject: Re: [PATCH] [RFC] sysfs support for xen linux Date: Wed, 11 Jan 2006 16:35:10 +0000 Message-ID: References: <43C52E6F.9090901@us.ibm.com> <200601111605.00515.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200601111605.00515.mark.williamson@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mark Williamson Cc: "Mike D. Day" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 11 Jan 2006, at 16:05, Mark Williamson wrote: > My impression is was that sysfs files are mostly meant to be very > simple > get/set attributes and not have magic properties like the privcmd file > - do > any other sysfs files even support ioctls(). > > Also, for things like privcmd() which are used to perform operations, > isn't it > cleanest to make them a character device than a proc file? Probably true, but then it's a pain either needing to create device files in /dev, or interface with the devfs/udev du jour. I suppose we already have that issue with /dev/xen/evtchn though, and creating the device node can be hidden in libxc. -- Keir