Re: silent semantic changes with reiser4

Lee Revell
2004-09-02T20:01:17Z

On Thu, 2004-09-02 at 15:49, Pavel Machek wrote:
> Hi!
>
> > >> FWIW, this is how Windows does it now. As of XP, 'Find files' has an
> > >> option, enabled by default, to look inside archives. If you tell it to
> > >> look for a driver in a given directory it will also look inside .cab
> > >> and .zip files. It's extremely useful, I would imagine someone who uses
> > >> XP a lot will come to expect this feature.
> >
> > > It is trivial to implement this by looking inside the files. I.e., the way
> > > mc has done this for ages.
> >
> > Difference is that you can't do "locate" or "find" or "Search".. You
> > would have to open the files in an archive-supporting application
> > such as mc.
>
> You really need archive support in find. At the very least you need
> option "enter archives" vs. "do not enter archives". Entering archives
> automagically is seriously wrong.

But is it efficient to make every application that reads files have to
know how to get inside a tar file, just to read its contents? That
seems like a massive duplication of effort. Better to have the contents
accessible via a separate stream, in the same namespace. Fix it once in
the kernel vs. fix it in umpteen apps.

The key point here is that the expressive power of the system is greatly
reduced by having a fragmented namespace. Of course there are any
number of ways for an app to find out what is in a tar file, but
exporting all of that information in a unified namespace is nontrivial
and much more interesting.

Lee