Re: Bind mount bug?

From: Frans Pop
Date: Sun Nov 11 2007 - 05:22:49 EST


On Sunday 11 November 2007, Frans Pop wrote:
> I'd expected the last command to list "foo", but it shows an empty dir.
> Shouldn't it also show the original contents of test (as they were before
> the first bind mount)?

The problem is of course also that any changes made into /test/test will get
lost into thin space:

# touch test/test/baz
# ls bindtest/test
foo
# umount test
# ls test
foo
#
-
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/