Skip to content

RFC Shadow directories

Jaroslav Sykora linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Shadow directories: headersinclude/linux/file.h include/linux/fs.h include/linux/fs_struct.h +1 more+61 -00 replies
2/5Shadow directories: corearch/i386/kernel/syscall_table.S fs/exec.c fs/file_table.c +5 more+672 -140 replies
3/5Shadow directories: chdir, fchdirfs/open.c+73 -60 replies
4/5Shadow directories: procfsfs/proc/array.c fs/proc/base.c+76 -00 replies
5/5Shadow directories: documentationDocumentation/filesystems/shadow-directories.txt+177 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] Shadow directories

Hello,

Let's say we have an archive file "hello.zip" with a hello world program source code. We want to do this:

	cat hello.zip^/hello.c
	gcc hello.zip^/hello.c -o hello
	etc..

The '^' is an escape character and it tells the computer to treat the file as a directory. [Note: We can't do "cat hello.zip/hello.c" because of http://lwn.net/Articles/100148/ ] The kernel patch implements only a redirection of the request to another directory ("shadow directory") where a FUSE server must be mounted. The decompression of archives is entirely handled in the user space. More info can be found in the documentation patch in the series.

The shadow directories are used in RheaVFS project [ http://rheavfs.sourceforge.net/ ], and it also can be used with the original AVFS [ http://www.inf.bme.hu/~mszeredi/avfs/ ].

The patches are against vanilla 2.6.23.
This is my first bigger contribution to the kernel so please be gentle ;-)

Jara

Signature · 2 lines
"Elves and Dragons!" I says to him.  "Cabbages and potatoes are better
for you and me."  -- J. R. R. Tolkien