Messages in this thread | | | Subject | Re: file as a directory | From | Zan Lynx <> | Date | Mon, 22 Nov 2004 08:34:02 -0700 |
| |
On Mon, 2004-11-22 at 15:37 +0100, Martin Waitz wrote: > hoi :) > > On Mon, Nov 22, 2004 at 07:24:36PM +0530, Amit Gud wrote: > > A straight forward question. Wouldn't adding a "file as a directory" > > mechanism more logical in VFS itself, rather than having each fs (like > > reiser4) to implement it seperately? > > wouldn't it be better if such things would be implemented in a library? > use gnome-vfs, or try to get a vfs layer into libc. > That way you can even support different and old kernels and all > filesystems. > > The kernel already provides all methods that are neccessary to do that. > So there is no need to implement it in the kernel.
There are already several things in filesystems that don't strictly belong inside the kernel. A filesystem could be implemented quite well as a user-space daemon that sat on top of the block device and communicated via sockets or shared memory just like an X server.
So, the argument that because it could be implemented in userspace that it should be implemented in userspace is not automatically true. -- Zan Lynx <zlynx@acm.org> [unhandled content-type:application/pgp-signature] | |