Re: bug: mount on an open directory succeeds

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Mar 08 2000 - 05:24:46 EST


On Tue, 7 Mar 2000, Guest section DW wrote:

> So, I think we have to change. But it would be strange to
> have . point at the old directory, and ./a/.. at the
> mounted filesystem. So, . must point at the mounted filesystem
> as well, precisely as we already do today. But then the best
> way to get rid of the fact that foo and ./foo may differ
> is to do like Unix6 did and return EBUSY if the mount point
> is the cwd of some process.

v6 also had no fchdir()...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:13 EST