Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764850AbXEWMF2 (ORCPT ); Wed, 23 May 2007 08:05:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758852AbXEWMFS (ORCPT ); Wed, 23 May 2007 08:05:18 -0400 Received: from mailer.gwdg.de ([134.76.10.26]:37274 "EHLO mailer.gwdg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758390AbXEWMFR (ORCPT ); Wed, 23 May 2007 08:05:17 -0400 Date: Wed, 23 May 2007 14:01:24 +0200 (MEST) From: Jan Engelhardt To: Miklos Szeredi cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, akpm@linux-foundation.org, viro@ftp.linux.org.uk, torvalds@linux-foundation.org Subject: Re: [RFC PATCH] file as directory In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Report: Content analysis: 0.0 points, 6.0 required _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 905 Lines: 31 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/