Re: [vserver] Hashify Cleanup

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Thu 31 Mar 2011 - 15:19:31 BST
Message-ID: <40188.192.168.102.6.1301581171.squirrel@192.168.100.17>

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
Received on Thu Mar 31 15:19:44 2011
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 31 Mar 2011 - 15:19:44 BST by hypermail 2.1.8