[RFC PATCH 0/5] Shadow directories

2007-10-18 Thread Jaroslav Sykora
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:

[RFC PATCH 1/5] Shadow directories: headers

2007-10-18 Thread Jaroslav Sykora
Header file changes for shadow directories. Adds pointers to shadows dirs to the struct file and struct fs_struct. Defines internal lookup flags and syscall flags. Signed-off-by: Jaroslav Sykora <[EMAIL PROTECTED]> include/linux/file.h |2 ++ include/linux/fs.h

[RFC PATCH 3/5] Shadow directories: chdir, fchdir

2007-10-18 Thread Jaroslav Sykora
sys_chdir and sys_fchdir changes. Signed-off-by: Jaroslav Sykora <[EMAIL PROTECTED]> fs/open.c | 79 1 file changed, 73 insertions(+), 6 deletions(-) --- orig/fs/open.c 2007-10-07 19:00:19.0 +0200 +++ new/fs/open.c

[RFC PATCH 2/5] Shadow directories: core

2007-10-18 Thread Jaroslav Sykora
directory. Signed-off-by: Jaroslav Sykora <[EMAIL PROTECTED]> arch/i386/kernel/syscall_table.S |6 fs/exec.c|4 fs/file_table.c | 19 fs/namei.c | 610 - fs/namespace.c

Re: [RFC PATCH 0/5] Shadow directories

2007-10-18 Thread Jaroslav Sykora
On Thursday 18 of October 2007, Jan Engelhardt wrote: > > On Oct 18 2007 17:21, Jaroslav Sykora wrote: > >Hello, > > > >Let's say we have an archive file "hello.zip" with a hello world program > >source > >code. We want to do this: > >

Re: [RFC PATCH 0/5] Shadow directories

2007-10-18 Thread Jaroslav Sykora
On Thursday 18 of October 2007, Jan Engelhardt wrote: > >> > > >> >The '^' is an escape character and it tells the computer to treat the > >> >file as a directory. > >> > >> But what you could do is: write a FUSE fs that mirrors the lower content > >> (lofs/fuseloop/however it was named) and expa

[RFC PATCH 4/5] Shadow directories: procfs

2007-10-18 Thread Jaroslav Sykora
Procfs interface: /proc//status, /proc//{root-shdw, cwd-shdw}. Signed-off-by: Jaroslav Sykora <[EMAIL PROTECTED]> fs/proc/array.c | 23 +++ fs/proc/base.c | 53 ++ 2 files changed, 76 insertions(+) --- orig/fs/proc/base.c 2

[RFC PATCH 5/5] Shadow directories: documentation

2007-10-18 Thread Jaroslav Sykora
Documentation of the shadow directories. Signed-off-by: Jaroslav Sykora <[EMAIL PROTECTED]> Documentation/filesystems/shadow-directories.txt | 177 + 1 file changed, 177 insertions(+) --- /dev/null 2007-10-18 09:34:42.624413454 +0200 +++ new/Documentation/filesystems/

Re: [RFC PATCH] file as directory

2007-05-23 Thread Jaroslav Sykora
Hello, On Tuesday May 22, 2007, Miklos Szeredi wrote: > Why do we want this? > > > That depends on who you ask. My answer is this: > > 'foo.tar.gz/foo/bar' or > 'foo.tar.gz/contents/foo/bar' > > or something similar. > I work for a similir goal in my bachelor's these