Re: file as a directory

From: Tomasz Torcz
Date: Fri Dec 31 2004 - 10:04:24 EST


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@xxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/