Re: [vserver] Hashify Cleanup

From: Gordan Bobic <gordan_at_bobich.net>
Date: Thu 31 Mar 2011 - 15:27:19 BST
Message-ID: <4D948F47.60908@bobich.net>

Daniel Hokka Zakrisson wrote:
> 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?

I know they'll be re-run every time, I was just wondering if it would
break anything else. I never said there's a bit advantage to deleting
them, I was merely observing that there any benefit to having them. :)

Gordan
Received on Thu Mar 31 15:27:30 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 31 Mar 2011 - 15:27:30 BST by hypermail 2.1.8