On Mon, Apr 17, 2006 at 02:32:04PM +1000, Neil Brown wrote: > On Sunday April 16, greg@xxxxxxxxx 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 - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html