>
> This happens with Tru64 unix as well as Solaris. ext2 behaves fine,
> XFS doesn't. I didn't try NFS v2, only v3. 2.4.2-XFS cvs from mar18
> + 'wolverine'
>
> IRIX behaves weirdly no matter what... :-/
>
> cheers,
> robin
>
> ps. sorry - I don't know how to use the bug tracking system so I'm just
> sending to the list.
This is related to the specific algorithm used to work out pwd, solaris
walks up the directory tree doing readdirs and stating files, it stops
when it finds the root of a filesystem. The problem is that for xfs for
some reason . and .. in the root dir are both the same inode when looked
at via an nfs mount, for ext2 they are not. This makes the top of the xfs
filesystem look like the root of the whole machine. Even opening .. is
pushing us back into the same inode at this point. I would have thought
that traversing out of a filesystem via .. would be an nfs client only
operation.
That is what I think is happening, working out why this is happening is
another matter!
Steve
|