Subject: Re: [vserver] Hashify and exclude
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Tue, 28 Oct 2008 05:18:27 +0100 (CET)

Ed W wrote:
> [...]
> Subtle extra one, but as I understand it, the COW stuff breaks ALL
> hardlinks on write, so if you have a bunch of hard links within the
> vserver for some internal process, then additionally hardlinking those
> *across* vservers will cause all the hardlinks (even within the vserver)
> to be broken if the file is ever altered.  This may or may not be a
> problem in general (seems like a corner case for most people?)
>
> Herbert - when I quickly looked at the code for the unification utility,
> it *appeared* to be figuring out whether a file already is hardlinked.
> Would it be as straightforward as it might appear to add a test to avoid
> hardlinking files across vservers if they are already hardlinked
> *within* a vserver?

Yes.

-- 
Daniel Hokka Zakrisson