Re: [vserver] Copy-on-write Hard Links, Shared Libraries, Prelink and Memory

From: Gordan Bobic <gordan_at_bobich.net>
Date: Wed 09 Jun 2010 - 17:01:12 BST
Message-ID: <4C0FBAC8.70404@bobich.net>

On 06/09/2010 04:57 PM, Eugen Leitl wrote:
> On Wed, Jun 09, 2010 at 02:48:13AM -0500, Corey Wright wrote:
>
>> # hashify a vserver
>> vserver ${VSERVER_NAME} hashify
>>
>> # delete hashed files orphaned by all vservers
>> find /etc/vservers/.defaults/apps/vunify/hash/00/ -type f -links 1 -exec rm
>> -f {} \;
>>
>> it is left as an exercise to the reader to find documentation referencing
>> the above commands.
>>
>> i have a cron job that hashifies once a day and i manually clean-up the hash
>> directory when ever i think about it (like right now ;-).
>
> Uh, sorry to be brain-damaged, but which directory do you mean?
> /etc/vservers/.defaults/apps/vunify/hash/00/ ?
>
> Can you cut& paste the exact rm command you use?

He did. The find command execs 'rm -f' on all the files it finds that
have a hard link count of 1. Or am I misunderstanding your question?

Gordan
Received on Wed Jun 9 17:01:56 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 09 Jun 2010 - 17:01:59 BST by hypermail 2.1.8