Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751189AbWIHVkA (ORCPT ); Fri, 8 Sep 2006 17:40:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751180AbWIHVkA (ORCPT ); Fri, 8 Sep 2006 17:40:00 -0400 Received: from iriserv.iradimed.com ([69.44.168.233]:16543 "EHLO iradimed.com") by vger.kernel.org with ESMTP id S1751189AbWIHVj4 (ORCPT ); Fri, 8 Sep 2006 17:39:56 -0400 Message-ID: <4501E33B.50204@cfl.rr.com> Date: Fri, 08 Sep 2006 17:40:11 -0400 From: Phillip Susi User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Greg KH CC: Thomas Maier , linux-kernel@vger.kernel.org, "petero2@telia.com" Subject: Re: [PATCH] pktcdvd: added sysfs interface + bio write queue handling fix References: <20060908210042.GA6877@kroah.com> In-Reply-To: <20060908210042.GA6877@kroah.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Sep 2006 21:40:11.0725 (UTC) FILETIME=[5CCB4FD0:01C6D38F] X-TM-AS-Product-Ver: SMEX-7.2.0.1122-3.6.1039-14680.000 X-TM-AS-Result: No--14.922800-5.000000-31 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 961 Lines: 24 Greg KH wrote: > On Fri, Sep 08, 2006 at 07:55:08PM +0200, Thomas Maier wrote: >> +/sys/block/pktcdvd//packet/ >> + statistic (r) Show device statistic. One line with >> + 5 values in following order: >> + packets-started >> + packets-end >> + written in kB >> + read gather in kB >> + read in kB > > Please no. One value per file is the sysfs rule. > Except in cases like this where you want to read the status of the device at a given point in time, and you can't do that unless you grab all the values at once. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/