Xuan Baldauf <[EMAIL PROTECTED]> wrote on Mon, 14 Jan 2002 03:56:00
 +0100:
> No. Once you modify your applications to use the access form
> "foo.jpeg/content", files without attributes (files which have
> to be accessed using the old access form "foo.jpeg") won't be
> accessible anymore.

The temporary workaround during the transition period is to have
two mount points for the file system.  One gives you the new
view of the data (attributes and all), while the other one just
gives you the old unattributed one (suitable for tar'ing up C
source code for distribution).

> Actually, if kernel stat() isElement O(1) and
> readdir() isElement O(n) [...]

As part of indexing, I'm hoping for sorted directories (or with
Reiser V4, that's a custom directory type plus plug-in).  Then
readdir() is O(log n) to find the place it left off from reading
before, and so is stat() to find the file it is stat'ing.

That reminds me about back links.  Currently a file just has
the count of the number of links to it, but doesn't know what
they are (and people shouldn't be using this as the count of
the number of items in a directory!).  I'm experimenting with
including a list of backlinks in my RAM disk file system for
BeOS, and it comes in useful for an improved alias/hard link.
Probably would also be useful for reconstructing directories
(not a concern with RAM disks :-).

- Alex


Reply via email to