Re: [PATCH] cowlinks v2

From: Jamie Lokier
Date: Thu Mar 25 2004 - 14:44:43 EST


Eric W. Biederman wrote:
> One of the rougher patches, in that we don't have persistent inode
> numbers. Basically the two files never have the same inode number.
> To the user they are always presented as two separate files.

That is not useful for me or the other people who want to use this to
duplicate large source trees and run "diff" between trees.

"diff" depends on being able to check if files in the two trees are
identical -- by checking whether the inode number and device (and
maybe other stat data) are identical. This allows "diff -ur" between
two cloned trees the size of linux to be quite fast. Without that
optimisation, it's very slow indeed.

-- Jamie
-
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/