From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262221AbVGKEBr (ORCPT ); Mon, 11 Jul 2005 00:01:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262222AbVGKEBr (ORCPT ); Mon, 11 Jul 2005 00:01:47 -0400 Received: from mxfep02.bredband.com ([195.54.107.73]:24060 "EHLO mxfep02.bredband.com") by vger.kernel.org with ESMTP id S262221AbVGKEBq (ORCPT ); Mon, 11 Jul 2005 00:01:46 -0400 Message-ID: <42D1F06C.9010905@stesmi.com> Date: Mon, 11 Jul 2005 06:07:08 +0200 From: Stefan Smietanowski User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Masover CC: Hans Reiser , Hubert Chan , Ross Biro , Horst von Brand , Kyle Moffett , Valdis.Kletnieks@vt.edu, Lincoln Dale , Gregory Maxwell , Jeff Garzik , Christoph Hellwig , Andrew Morton , linux-kernel@vger.kernel.org, ReiserFS List , Alexander Zarochentcev , vs , Nate Diller Subject: Re: reiser4 plugins References: <200506290509.j5T595I6010576@laptop11.inf.utfsm.cl> <87hdfgvqvl.fsf@evinrude.uhoreg.ca> <8783be6605062914341bcff7cb@mail.gmail.com> <878y0svj1h.fsf@evinrude.uhoreg.ca> <42C4F97B.1080803@slaphack.com> <87ll4lynky.fsf@evinrude.uhoreg.ca> <42CB0328.3070706@namesys.com> <42CB07EB.4000605@slaphack.com> <42CB0ED7.8070501@namesys.com> <42CB1128.6000000@slaphack.com> <42CB1C20.3030204@namesys.com> <42CB22A6.40306@namesys.com> <42CBE426.9080106@slaphack.com> In-Reply-To: <42CBE426.9080106@slaphack.com> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiVirus: checked by Vexira Milter 1.0.7; VAE 6.29.0.5; VDF 6.29.0.100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Ok, still haven't heard much discussion of metafs vs file-as-directory, > but it seems like it'd be easier in metafs. Why not implement it inside the directory containg the file ? Ie the metadata for /home/stesmi/foo is in /home/stesmi/.meta/foo This should be suit both camps I'd think? I mean, editing something is easy and you don't have to "know" how to navigate /meta and you don't have the clash of files vs metadata (is /meta/vfs/home/stesmi/foo a file or an attribute called foo of the dir stesmi ?). /home/stesmi/foo <- dir /home/stesmi/.meta/foo <- "dir" containing all metadata /home/stesmi/.meta/foo/attrib <- some attribute called attrib /home/stesmi/foo/bar <- file /home/stesmi/foo/.meta/bar <- "dir" containg all metadata /home/stesmi/foo/.meta/bar/attrib <- some attribute called attrib The file is $dir/$file. The attrib dir is $dir/.meta/$file. The attribute is $dir/.meta/$file/$attribute. If $attrib is something user-editable it's easy to $EDITOR $dir/.meta/$file/$attrib If this has already been taken up, I must've missed it. // Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) iD8DBQFC0fBsBrn2kJu9P78RAlt4AJ4qWik6hA4oXBNZMdZ1TkweYrJHmgCdFAY+ m+Qtg9uqBq9m0qKfRkK6iUI= =ghWb -----END PGP SIGNATURE-----