Re: [PATCH 15/32] union-mount: Documentation

From: hooanon05
Date: Mon May 25 2009 - 04:44:14 EST



Arnd Bergmann:
> Right, but that is consistent with how the kernel would treat a
> rename from one mount point to another, and tools like 'mv'
> can handle this in user space.

Yes, that is the description in the union mount document.
While it says to rename a regular file is implemented, the code differs
actually.
----------------------------------------
+Rename across different levels of the union is implemented as a copy-up
+operation for regular files. Rename of directories simply returns EXDEV, the
+same as if we tried to rename across different mounts. Most applications have
:::
----------------------------------------
--
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/