Re: [PATCH for testing] cow behaviour for hard links

From: Jörn Engel
Date: Mon Mar 15 2004 - 05:28:34 EST


On Mon, 15 March 2004 07:45:58 +0000, Jamie Lokier wrote:
> Pavel Machek wrote:
> > > Or did you mean the problem of tar backups growing *much* larger than
> > > the real filesystem? Yes, tar becomes useless for backups then. :)
> >
> > Yep, this is what I meant.
>
> A different but related problem: rsync cannot backup my kernel
> development directory from one hard disk to another, because it
> contains lots of kernel trees mostly hard linked to each other. rsync
> falls over, trying to keep track of the roughly half a million links.
>
> You might see similar problems trying to backup a strongly "copyfile"'d
> filesystems.

And both are easily fixable, if you don't mind using 16 bytes of RAM
per inode. At least for rsync this should be a piece of cake compared
to the amount of memory already used. :)

Jörn

--
When in doubt, use brute force.
-- Ken Thompson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/