From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: FS-specified FSID for non-device based filesystems? Date: Tue, 18 Apr 2006 11:07:08 -0700 Message-ID: <20060418180708.GB929@kroah.com> References: <20060412111003.GZ26989@linuxhacker.ru> <17474.59182.518483.251876@cse.unsw.edu.au> <20060417035043.GA20496@kroah.com> <17475.6724.811707.481414@cse.unsw.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Oleg Drokin , linux-fsdevel@vger.kernel.org Return-path: Received: from ns.suse.de ([195.135.220.2]:8843 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S932244AbWDRSIY (ORCPT ); Tue, 18 Apr 2006 14:08:24 -0400 To: Neil Brown Content-Disposition: inline In-Reply-To: <17475.6724.811707.481414@cse.unsw.edu.au> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, Apr 17, 2006 at 02:32:04PM +1000, Neil Brown wrote: > On Sunday April 16, greg@kroah.com wrote: > > On Mon, Apr 17, 2006 at 10:54:06AM +1000, Neil Brown wrote: > > > - filesystems don't have a place in /sys > > > > Then what is /sys/fs/ for? :) > > good question! > > adams # uname -a > Linux adams 2.6.17-rc1-mm1 #298 SMP Tue Apr 11 14:19:52 EST 2006 i686 GNU/Linux > adams # ls -la /sys/fs > total 0 > drwxr-xr-x 2 root root 0 Apr 17 14:23 . > drwxr-xr-x 11 root root 0 Apr 17 14:23 .. > > Doesn't look very useful yet, but I'm hopeful. > > What naming scheme is expected? i.e. If I want to look at the nfs > client rpc stats for /import/warehouse, where would I look? > /sys/fs/import/warehouse/nfs/stats > seems unlikely. > > The idea of putting filesystem stuff in /sys seem to come up on > linux-kernel every so often and it never seems to get anywhere, often > because Al Viro pokes obvious holes in the scheme. > > I cannot find anything in Documentation/filesystems/sysfs.txt, so: > How is /sys/fs supposed to work? I don't know, as I didn't create it. I think one of the FUSE developers did. thanks, greg k-h