Unifying filesystems with union mounts
Posted Dec 26, 2008 0:44 UTC (Fri) by rvfh
Parent article: Unifying filesystems with union mounts
Rename on union mounts is handled through -EXDEV. -EXDEV is returned in a rename() operation if the source and destination file paths are on different mounted filesystems.
Maybe difficult, but I wish there could be a way to just mark the file deleted on the one side and create a hard link to the filesystem where the file actually lives on the other, rather than having to copy the file on a mv operation, and using space on the top mounted filesystem (which might often be memory)...
There would be no unexpected -EXDEV either then: after all, it´s all meant to be the same FS from an application POW.
to post comments)