From: Keir Fraser Subject: Re: FW: Is it a correct place for VBD information? Date: Mon, 26 Jun 2006 22:09:12 +0100 Message-ID: <42e92f4059b7df185c26406e81f8a0e4@cl.cam.ac.uk> References: <014a01c698c4$ae88a300$4c87380a@ad.spf.cl.nec.co.jp> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <014a01c698c4$ae88a300$4c87380a@ad.spf.cl.nec.co.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Satoshi Uchida Cc: "'Mike D. Day'" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 26 Jun 2006, at 03:03, Satoshi Uchida wrote: > /sys/class means description of a type of device (see > Documentation/device-model/class.txt), > and each device class defines a set of semantics and programming > interface. > Xen is not device, so it may be bad that these information locate > under /sys/class. > > /sys/devices means filesystem representation of the device tree. > So, I feel that these statistical information shouldn't locate under > /sys/devices There's all kinds of device-specific metadata under device directories in /sys/devices. So placing statistics under there seems fine to me as it keeps device-specific data together in one place -- the vbd directories can then get symlinked from /sys/class or /sys/hypervisor/xen in future if that is deemed to make sense, and all vbd-specific info is at once available at those new locations. -- Keir