COW Links
Posted Apr 1, 2004 13:10 UTC (Thu) by
nix (subscriber, #2304)
Parent article:
COW Links
This looks to be terribly useful. My standard way of rolling patches has long been
cp -al foo foo-orig
[edit foo like crazy]
diff -urN foo-orig foo
but this means relying on move-file-out-of-the-way semantics in your editor, whcih is hardly reliable.
I was thinking of implementing this myself: it's nice to see someone else doing the same.
(And, FWIW, I agree with Linus: *lots* of apps use (dev, inum) pair identity to determine file identity; it's an important property that shouldn't be broken. inums remaining unchanged, though also an important invariant, isn't as heavily relied upon, so breaking it for cowlinks seems to be the lowest-impact implementation.)
(
Log in to post comments)