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