Hans Reiser <[email protected]> said:
> Horst von Brand wrote:
> >Spam <[email protected]> said:
> >>Christer Weinigel <[email protected]> said:
[...]
> >>>2. How do we want to expose named streams?
> >>> One suggestion is file-as-directory in some form.
> >Which is broken, as it forbids hard links to files.
> No, it forbids hard links to the directory aspect of the file-directory
> duality.
How do you distinguish a "hard link to the directory personality" from
"hard link to the file personality"? And how do you make sure that only one
of them can be followed if you go to the directory, while allowing several
to the exact same file?!
> >Now you have 3 principal types of objects: Directories, containers (files
> >with streams), and files (no streams).
> No, the reiser4 design supports only files and directories, but makes
> them able to do what people use streams for.
I.e., you have files/directories with/without "use as streams" stuff. 4
types (or uses) of things.
> The reiser4 design is based on a hatred of streams, and a desire to show
> that adding more features to files and directories makes streams
> unnecessary.
Trade one ugly wart for others...
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
Horst von Brand wrote:
>Hans Reiser <[email protected]> said:
>
>
>>Horst von Brand wrote:
>>
>>
>>>Spam <[email protected]> said:
>>>
>>>
>>>>Christer Weinigel <[email protected]> said:
>>>>
>>>>
>
>[...]
>
>
>
>>>>>2. How do we want to expose named streams?
>>>>>
>>>>>
>
>
>
>>>>> One suggestion is file-as-directory in some form.
>>>>>
>>>>>
>
>
>
>>>Which is broken, as it forbids hard links to files.
>>>
>>>
>
>
>
>>No, it forbids hard links to the directory aspect of the file-directory
>>duality.
>>
>>
>
>How do you distinguish a "hard link to the directory personality" from
>"hard link to the file personality"?
>
Put in (undoubtedly overly) simple terms, if you can do it to a file you
can do it to the file personality, but if you currently can only do it
to a directory and get an error from attempting it to a file then in the
new scheme doing it to the hard link only gives the same error.
Or, we can ask Alexander to help us use his deadlock detection algorithm
and try to do things right....