Re: silent semantic changes in reiser4 (brief attempt to document the idea of what reiser4 wants to do with metafiles and why

From: Spam (spam_at_tnonline.net)
Date: 08/31/04

  • Next message: Takashi Iwai: "Re: [patch] voluntary-preempt-2.6.9-rc1-bk4-Q5"
    Date:	Tue, 31 Aug 2004 20:17:36 +0200
    To: V13 <v13@priest.com>
    
    

      

    > On Sunday 29 August 2004 23:21, Hans Reiser wrote:
    >> The Idea
    >>
    >> You should be able to access metadata about a file the same way you
    >> access the file's data, but with a name based on the filename followed
    >> by a name to select the metadata of interest.
    >>
    >> Examples:
    >>
    >> cat song_of_silence/metas/owner
    >> cat song_of_silence/metas/permissions
    >> cat 10 > song_of_silence/metas/mixer_defaults/volume
    >> cat song_of_silence/metas/license

    > Maybe I'm crazy but:

    > You're talking about a major change in the way filesystems work if this is
    > going to be used by other FSs too. If I understand this correctly it is a
    > completely new thing and trying to do it by patching existing well-known
    > 'primitives' may be wrong.

    > AFAIK and AFAICS the metadata are not files or directories. You can look at
    > them as files/dirs but they are not, just like a tar is not a directory. I
    > believe that the correct thing to do (tm) is to add a new 'concept' named
    > 'metadata' (which already exists). This way you'll have files, directories
    > and metadata (or whatever you call them). So, each directory can have
    > metadatas and files and each file can have metadatas. Then you have to
    > provide some new methods of accessing them and not to use chdir() etc. (lets
    > say chdir_meta() to enter the meta dir which will work for files too). After
    > entering the 'metadir' you'll be able to use existing methods etc to access
    > its 'files'.

    > This approach doesn't mess with existing things and can be extended for
    > other filesystems too.

    > (Just a thought)

      It is a good thought. However I think they are trying to figure out
      a way to have the metadata and streams to be accesible with legacy
      applications.

      The file-as-directory concept is one way, which still seem to have
      issues.

      How are things done on Windows platforms when there are files and
      directories with the same name? In Unix that is imposible. How does
      it work for environments like Cygwin etc? What happen to tools
      that run in them?

    > <<V13>>

    -
    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/


  • Next message: Takashi Iwai: "Re: [patch] voluntary-preempt-2.6.9-rc1-bk4-Q5"

    Relevant Pages

    • Re: silent semantic changes with reiser4
      ... Nicholas Miell wrote: ... >> Whereas there are some other kinds of metadata which should not be ... on a sufficiently fast box; don't work when there are ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 00/14] GFS
      ... part of gfs2_ondisk.h: the ondisk metadata specification. ... unusual since gfs uses a hash table on-disk for its directory structure. ... > inserted between the real device the and rest of the filesystem. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Proposed enhancements to MD
      ... into device mapper targets. ... update the metadata, so a callback must be in place to communicate ... Communication Media & Services S.r.l. ... 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/ ...
      (Linux-Kernel)
    • Re: silent semantic changes with reiser4
      ... >> The first one is the size of the shoe, ... > a problem shoe or the size of the problem relating to a shoe in units of ... metadata "directory", then why not change the symbol that delimits the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFD] Explicitly documenting patch submission
      ... > committed it into BK, who was the original author, etc.) into the SCM ... > metadata, but I'm not sure we could justify your putting that kind ... > feature into BK, especially when it's likely that the only users of it ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)