Re: Has it been done: User Script File System?

Jeff Dike (jdike@karaya.com)
Wed, 13 Jun 2001 13:12:34 -0400


russl@lycosmail.com said:
> Is there any filesystem in Linux that uses user scripts/executables to
> implement the various function calls?

http://uservfs.sourceforge.net

Also, have a look at the hostfs filesystem in UML. It implements a virtual
filesystem which provides access to the host filesystems from inside the
virtual machine. The userspace side of it is basically trivial to implement
and can be used to provide filesystem access to anything on the host that can
be made to look like a filesystem.

See http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/user-mode-linux/linux/arch/u
m/fs/hostfs/hostfs_user.c?rev=1.11&content-type=text/vnd.viewcvs-markup for
the interface that you'd have to implement.

Jeff

-
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/