Re: silent semantic changes with reiser4

Nicholas Miell
2004-08-29T20:14:50Z

On Sun, 2004-08-29 at 12:53, Hans Reiser wrote:
> With your model, can I do:
>
> cat filenameA/metas/permissions > filenameB/metas/permissions
>

runat filenameA "cat permissions" | runat filenameB "cat > permissions"

> find / -exec cat {}/permissions \; | grep 4777 | wc -l

find / -exec runat {} "cat permissions" \; | grep 4777 | wc -l

Although, whether or not the kernel exposes file permissions as an
attribute named permissions is up to the filesystem. (And the wrong
thing to do, in my opinion, but that's irrelevant.)

> If yes, then we are talking past each other somehow rather than
> disagreeing. If metafiles can be opened with both open and openat() in
> your model, then we are discussing some small detail.

It can be opened by both, but in order to do it via open(2), you need to
fchdir(2) to the attribute directory as returned by openat(2) and then
use a relative pathname.

> I think the answer is no though, in which case you are missing the point
> of the new design. Is the answer no?
--
Nicholas Miell <nmiell@comcast.net>