lkml.org 
[lkml]   [2004]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] [Request for inclusion] Filesystem in Userspace
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/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.170 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site