From: "Satoshi Uchida" Subject: Re: [PATCH 1/3] Output Virtual Block Device requests information to /proc/xen/vbd Date: Thu, 22 Jun 2006 09:54:44 +0900 Message-ID: <000701c69596$73c1c6b0$4c87380a@ad.spf.cl.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Thanks, Feir and Anthony. > On 21 Jun 2006, at 12:47, Anthony Liguori wrote: > >>> In my subjective, currently, procfs is used for representing dynamic = >>> information such as statistical data, and sysfs is used for=20 >>> representing statical information such as module parameters. >> >> /proc is for process information. This stuff definitely belongs in=20 >> sysfs. It's analogous to /sys/class/net/eth0/statistics/. > >Yes. The patchset looks good and is obviously useful -- we'd like to = apply it if this gets fixed. > > -- Keir It's OK. I try to examine and develop transition to sysfs file system. I may worry that where does information locate in sysfs. In it case, I confer with you, so please give me nice answer. Current, I think two pattern. 1. vbd class create /sysfs/class. 2. Use vbd-* directory under /sysfs/devices/xen-backend/. May first idea be appropriate? In addition, The one of advantage for our method is to represent total information = for domain. This mechanism is useful for analysis for each domain I/O or total = environments. In sysfs, I see that Interface connect individual device/module = information. Naturally, it is enough by using xentop, but xentop can not take log = file. If xentop can be redirected to normal file, but it file insert binary = code. Aren't there any good ideas? Thanks, Satoshi UCHIDA