From: "Satoshi Uchida" Subject: RE: FW: Is it a correct place for VBD information? Date: Tue, 27 Jun 2006 14:45:02 +0900 Message-ID: <000e01c699ac$d5e09e10$4c87380a@ad.spf.cl.nec.co.jp> References: <42e92f4059b7df185c26406e81f8a0e4@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <42e92f4059b7df185c26406e81f8a0e4@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: "'Mike D. Day'" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >=20 > On 26 Jun 2006, at 03:03, Satoshi Uchida wrote: >=20 > > /sys/class means description of a type of device (see=20 > > Documentation/device-model/class.txt), > > and each device class defines a set of semantics and programming=20 > > interface. > > Xen is not device, so it may be bad that these information locate=20 > > 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 >=20 > 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=20 > directories can then get symlinked from /sys/class or=20 > /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. >=20 > -- Keir >=20 OK. On the presumption that statistical information is placed in = /sys/device,=20 I think that the first stage in output of VBD information is the end at = ver. 2 patch. How is it? Thanks, Satoshi UCHIDA.