> So, when I do a zfs receive, it would be "really > nice", if there were some way for zfs to figure out, > lets say, "recieve to a snapshot of the filesystem; > then take advantage of the fact that it is a > snapshot, to NOT write on disk, the 9 unaltered files > that are in the snapshot; just allocate for the > altered one".
To follow up on my own question a bit :-) I would presume that the mandate of "incrementals MUST have a common snapshot, with the target restoral zfs filesystem", are basically just a shortcut that somehow guarantees files are identical, without having to do actual calculation. What about some kind of rsync-like capability, though? To have zfs receive, have the capability to judge sameness by, "Well, the timestamp and filesizes are identical: treat them as identical!" without a common snapshot. And, for the truely paranoid, having a "binary compare" option, where it says, "hmm.. timestamp and filesizes are the same... they MIGHT be identical... lemme read from disk, and compare what I'm reading from the zfs send stream. If I find a difference, then write as a new file. Otherwise, just create [hardlink/whatever] in the destination receive snapshot, since they really are the same!" -- This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss