Re: Copy on write hard links?

From: Adam Borowski
Date: Tue Sep 24 2013 - 21:40:50 EST


On Tue, Sep 24, 2013 at 08:36:56PM +0200, Thomas Meyer wrote:
> Is there such a thing?

In mainline, AFAIK no. The vserver patchset, on the other hand, adds a new
xattr, iunlink, that copies the whole file when needed. That works on most
filesystems.

That's quite a hack, though, and I think you'd be better off using btrfs
which does cow transparently at a lower level than hardlinks.

--
ááááááááááááááááááááá
--
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/