Re: file as a directory

From: Tomasz Torcz (zdzichu_at_irc.pl)
Date: 11/27/04

  • Next message: Daniel Jacobowitz: "Re: ptrace single-stepping change breaks Wine"
    Date:	Sat, 27 Nov 2004 12:50:38 +0100
    To: linux-kernel@vger.kernel.org
    
    

    On Wed, Nov 24, 2004 at 09:16:03AM +0000, Peter Foldiak wrote:
    > So if you have a file named "/home/peter/book", you should be able to
    > look at its Introduction as "/home/peter/book/Introduction" or chapter
    > 3, paragraph 2 as
    > /home/peter/book/chapter[3]/paragraph[2]
    >
    > In this case you could use
    > /home/peter/book/chapter[3]/paragraph[2]
    > as a "real" file, read it, even edit it in a text editor. When you later
    > look at the whole book as /home/peter/book , you should see your
    > changes.

     First, this kind of document storage needs extensive knowledge of
    assocatied metadata and therefore is insuitable for kernel. It should be
    done in userspace.
     Second, it is beeing done in userspace - http://www.gnome.org/~seth/storage/ .
    No need to reinvent the wheel.

    -- 
    Tomasz Torcz               RIP is irrevelant. Spoofing is futile.
    zdzichu@irc.-nie.spam-.pl     Your routes will be aggreggated. -- Alex Yuriev
    -
    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: Daniel Jacobowitz: "Re: ptrace single-stepping change breaks Wine"

    Relevant Pages

    • Re: [PATCH 1/3] 2.6.8-rc4-mm1 - Fix UML build
      ... can access them all, and initialized data all before uninitialized, so ... SYMLINKS:= $,$/$f) ... semaphore.c-dir = kernel ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-24
      ... > rebooted to a kernel that doesn't have the RT-preempt patch but ... getting a very verbose running trail, almost like an strace output, ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Error mounting root fs on 72:01 using Promise FastTrak TX2000 (PDC20271)
      ... Subject: Error mounting root fs on 72:01 using Promise FastTrak TX2000 ... > Now I'm sucessfully booting my system with the 2.4.23 kernel using ... I think it's when the ATARAID driver is about to fire up. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Error mounting root fs on 72:01 using Promise FastTrak TX2000 (PDC20271)
      ... > Now I'm sucessfully booting my system with the 2.4.23 kernel using ... I think it's when the ATARAID driver is about to fire up. ... > the hard drives since this is the only thing that has changed. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: udev and devfs - The final word
      ... As each device driver loads and registers with the kernel, ... 'cookies' can be written out to keep them separately ID'd. ... e.g. increasing error rates and aging silicon will ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)