I disagree. It should create it in directory d, even though that is
the mount point.
A union mount should include files from another directory, but writes
should go to the actual named directory.
> > Back to your example; what do you wish to happen when we do
> > this?
> > $ mv d/z d/zz && test -f d/z && cat d/z
> > Here we rename d/z (which is really c/z) to zz. Does this
> > reveal z that used to be hidden by that, namely b/z, and "cat
> > d/z" now shows "b/z"?
> Yes - exactly
Union mounts should be read only.
If read-write union mounts are needed, I don't think that we should
implement them significantly differently to the way they work in BSD.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/