Re: Bind mount bug?
From: Frans Pop
Date: Sun Nov 11 2007 - 17:40:58 EST
On Sunday 11 November 2007, Roland Kuhn wrote:
> This mounts the bindtest/ tree on test/ _without_ copying the mount
> points which are found on subtrees.
Right. I guess this is the key point that tripped me up.
> So, you see, test/test/test/a was (as it should) physically created Â
> in test/test, where it is shadowed by the bind mount as long as that Â
> is not removed.
Which means that to continue the example from my follw-up mail:
> # ls bindtest/test
> foo
> # umount test
> # ls test
> foo
# umount bindtest/test
# ls bindtest/test
baz
And there indeed is the missing file.
> Nothing vanishes into "thin air" ;-)
Yeah, I saw that syntax error after sending the mail "into space" would have
been OK too, but not my combining the two :-)
Thanks for the explanation!
Cheers,
FJP
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/