Re: silent semantic changes with reiser4

Nikita Danilov
2004-08-26T21:45:49Z

Christophe Saout writes:
> Am Donnerstag, den 26.08.2004, 21:16 +0100 schrieb Jamie Lokier:
>
> > > | Will it work out if "dir inside file" will only be visible when
> > > referred as "file/."?
> > >
> > > I'm used to using ls symlink/. to get ls to show me the directory on
> > > the far side of a symbolic link. That's a pretty analagous case to
> > > the one we're discussing here, I think?
> >
> > By the way, do symlinks have metadata? Where do you find it? :)
>
> Oops. :)
>
> At least in reiser4 they don't have, or at least you can't access them.

They do.

> ln -s foo bar; cd bar/metas shows me the content of foo/metas.

That's because lookup for "bar" performs symlink resolution.

>
> symlinks are special anyway. Their rights are 777. The only thing they

Symlink is represented by normal inode in UNIX. It has full set of
attributes. It can even be hard-linked.

> can have is an owner. No chance to do a symlink/metas/uid then. Hmm.
>

Nikita.