Re: silent semantic changes with reiser4

Hans Reiser
2004-08-29T18:33:46Z

Alexander Lyamin wrote:

>Fri, Aug 27, 2004 at 11:08:57PM -0700, Paul Jackson wrote:
>
>
>>
>>One possible way to do this, of no doubt many:
>>
>> * Stealing a corner of the existing filename space for
>> some magic names with the new semantics.
>>
>> * A new option on open(2), hence opendir(3), that lights up
>> these magic names.
>>
>> * Doing any of the classic pathname calls with such a
>> new magic name exposes the new semantics - such calls
>> as:
>> access execve mkdir mknod mount readlink
>> rename rmdir stat truncate unlink
>>
>>This means essentially constructing a map between old and new,
>>such that changes made in either view are sane and visible
>>from the other view.
>>
>>
>
>It would be intresting to hear comments from Hans Reiser on proposals stated above...
>
>
>
>
just use a view, and skip the options on the system calls. if you cd to
/nometas/your_home_directory_path you don't see the metafiles. Why is a
view better than a syscall flag? Because it lets the user choose what
he wants without recompiling to do it. This kind of a view requires no
coding because you can just mount the root filesystem two ways, one with
the -nopseudos mount option, and one without it.