From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: Re: silent semantic changes with reiser4 Date: Thu, 02 Sep 2004 16:47:40 -0400 Message-ID: <1094158060.1347.16.camel@krustophenia.net> References: <1094079071.1343.25.camel@krustophenia.net> <200409021425.i82EPn9i005192@laptop11.inf.utfsm.cl> <1535878866.20040902214144@tnonline.net> <20040902194909.GA8653@atrey.karlin.mff.cuni.cz> <1094155277.11364.92.camel@krustophenia.net> <20040902204351.GE8653@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Spam , Horst von Brand , Jamie Lokier , David Masover , Chris Wedgwood , viro@parcelfarce.linux.theplanet.co.uk, Linus Torvalds , Christoph Hellwig , Hans Reiser , linux-fsdevel@vger.kernel.org, linux-kernel , Alexander Lyamin aka FLX , ReiserFS List Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com To: Pavel Machek In-Reply-To: <20040902204351.GE8653@atrey.karlin.mff.cuni.cz> List-Id: linux-fsdevel.vger.kernel.org On Thu, 2004-09-02 at 16:43, 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 > > Application does not have to know how to handle tar/zip/etc, but it > has to make distinction between "enter archives" and "do not enter > archives". See uservfs.sf.net. But how do you cache the information you had to look in the archive for in a way that other apps can use it? How do you synchronize access to the cache and maintain cache coherency in userspace? Lee