Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262431AbUKQQ7x (ORCPT ); Wed, 17 Nov 2004 11:59:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262430AbUKQQ6M (ORCPT ); Wed, 17 Nov 2004 11:58:12 -0500 Received: from thebsh.namesys.com ([212.16.7.65]:29118 "HELO thebsh.namesys.com") by vger.kernel.org with SMTP id S262431AbUKQQ5R (ORCPT ); Wed, 17 Nov 2004 11:57:17 -0500 From: Nikita Danilov MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16795.33515.187015.492860@thebsh.namesys.com> Date: Wed, 17 Nov 2004 19:57:15 +0300 To: Miklos Szeredi Cc: greg@kroah.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] [Request for inclusion] Filesystem in Userspace In-Reply-To: References: <84144f0204111602136a9bbded@mail.gmail.com> <20041116120226.A27354@pauline.vellum.cz> <20041116163314.GA6264@kroah.com> X-Mailer: VM 7.17 under 21.5 (patch 17) "chayote" (+CVS-20040321) XEmacs Lucid Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 39 Miklos Szeredi writes: > > No. Actually, put it in sysfs, and then udev will create your /dev node > > for you automatically. And in sysfs you can put your other stuff > > (version, etc.) which is the proper place for it. > > Next question: _where_ to put other stuff? In /proc this has a > logical place for filesystems: /proc/fs/fsname/other_stuff. But > there's no filesystem section in sysfs. /sys/fs used to exist for for some. Moreover, /sys/fs/foofs/ was added automagically when foofs file system type was registered. But it was ultimately removed, because nobody took the time to fix all races between accessing /sys/fs/foofs/gadget and umount/filesystem-module-unloading. Another way is to implement special "control" file-system type (using fs/libfs.c functions), to be used like mount -tfoofs /device /mnt/point mount -tfoo_ctrlfs -o host=/mnt/point /mnt/control-point Again, nobody took the time to actually do this for any real file-system, as far as I know. > > So? Go ahead bravely. :) > > Thanks, > Miklos Nikita. - 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/