Right, that is a valid question, although I'm no expert on OverlayFS so can't 
really answer that. 

The only "explanation" (as to why EXDEV is issued on a `rename(2)` call) that 
I've found is the following excerpt from a comment in the OverlayFS 
[code](https://github.com/torvalds/linux/blob/v4.8-rc2/fs/overlayfs/copy_up.c#L318-L322):

> [...] This means, when copying up a directory we can rely on it and ancestors 
> being stable.

There's also some more documentation on `redirect_dir` 
[here](https://docs.kernel.org/filesystems/overlayfs.html#renaming-directories) 
with some hints on the "why" (although no clear explanation either).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2905#discussioncomment-8456138
You are receiving this because you are subscribed to this thread.

Message ID: 
<rpm-software-management/rpm/repo-discussions/2905/comments/8456...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to