Subject: Re: [vserver] Hashify Cleanup
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Thu, 31 Mar 2011 16:19:31 +0200 (CEST)

Gordan Bobic wrote:
> I know the documentation usually recommends doing
>
> find /vserver/.hash -type f -links 1 -exec rm '{}' \;
>
> to clean up the stale hard-links, but are there any drawbacks to also doing
>
> find /vserver/.hash -type f -links 2 -exec rm '{}' \;
>
> ?
>
> In the latter case, the links that will be found are those that only
> exist in one vserver (plus the one link in .hash). These hard-links
> don't seem to be of any obvious advantage. Are there any possible
> negative side effects from removing them?

They'll be recreated every time you rerun hashify, resulting in all
those files churning your disk. What is your perceived benefit of
doing so?

-- 
Daniel Hokka Zakrisson