HAMMER Utiliites: undo can now detect all prior replacements of a file.
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 25 Feb 2009 23:59:56 +0000 (15:59 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 25 Feb 2009 23:59:56 +0000 (15:59 -0800)
commitb9a33d3fb1235626615b96b4b586ce7a7b8386fd
tree7bd4c99bacb53031695597fff42d15b971c14093
parent294aec9f930c098247c0a17770c21b1b963777b3
HAMMER Utiliites: undo can now detect all prior replacements of a file.

The undo code will now iterate the history of the parent directory and
attempt to locate all versions of the requested file even if the inode
number changes due to the file being deleted and recreated, or
renamed-over.

undo -i attempts to show inode number changes and deletions in the list.

undo -a (-d/-D) is now able to span inode number changes.

Suggested-by: corecode
usr.bin/undo/undo.1
usr.bin/undo/undo.c