lkml.org 
[lkml]   [2007]   [May]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 23 May 2007 14:01:24 +0200 (MEST)
FromJan Engelhardt <>
SubjectRe: [RFC PATCH] file as directory
On May 22 2007 20:48, 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.

Stole reiser4 an idea.
These semantics are quite fragile. Until now, chdir is only possible
for directories (otherwise, -ENOTDIR), and opening a directory without
O_DIRECTORY gives -EISDIR. You can't just change semantics.

That said, with FUSE, something like this should already be possible,
should not it?

And looking at your example of foo.tar.gz/foo/bar,the tar.gz needs to
be read at least once to get at foo/bar.


	Jan
-- 
-
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: 2007-05-23 14:07    [from the cache]
©2003-2008