On Thu, May 29, 2014 at 12:26 PM, David Howells <dhowe...@redhat.com> wrote:
> Miklos Szeredi <mik...@szeredi.hu> wrote:
>
>> Perfect solution would be an invisible temp directory.  This needs filesystem
>> support, but perhaps not so difficult.  Again could be done later without
>> backward compatibility issues.
>
> Maybe make a tempfile and hardlink it into place when complete.  That's what
> unionmount is doing.

That doesn't work with RENAME_EXCHANGE, which is what overlayfs uses.

I think that's a small price to pay for not needing to add whiteout
support to every single directory operation.

We could also implement RENAME_EXCHANGE with a tmpfile, but then
again, I think that may be too much complexity for too little gain.

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to