2006/6/3, Bruno <bonbons67@internet.lu>:
> I don't know if vhashify and friends of util-vserver keep some state of their
> operations (like a DB of hashed files)
AFAIK they just store files in a directory tree with their sha1 hashes
as file names
>
> What may be useful is e.g. an adjusted 'cp' tool that copies regular files as
> hardlink to the reference and adds IUNLINK and IMMUTABLE flags to the
> hardlinked files (where the flags are not alreay present)
> This will copy a whole guest as quickly as scanning the existing tree and
> creating a new inode/hardlink for each inode encountered.
A neat addition might be automatically differentiating between unified
files (hardlink them with cow flags) and normal files (copy them over)
so that copying an already vhashified vserver would be a single
command
Best regards,
Grzegorz Nosek
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Jun 3 12:00:18 2006