[lkml]   [2009]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 15/32] union-mount: Documentation

Jan Blunck:
> +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 handle this case anyway. Some applications do not expect EXDEV on
> +rename operations within the same directory, but these applications will also
> +be broken with bind mounts.

Is renaming a regular file supported?
Accrding to the change in "[PATCH 24/32] union-mount: in-kernel file
copy between union mounted filesystems", every rename under union seems
to be rejected.

link(2) may be similar.
When a "fileA" exists in the lower fs only, link("fileA", "new_file")
will return EXDEV too.

J. R. Okajima

 \ /
  Last update: 2009-05-25 08:29    [W:0.267 / U:45.496 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site