mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-11-02 22:16:22 +08:00
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: open-source-learner <315730032+open-source-learner@users.noreply.github.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
759 B
759 B
e2undo
Replay undo logs for an ext2/ext3/ext4 filesystem. This can be used to undo a failed operation by an e2fsprogs program. More information: https://manned.org/e2undo.
- Display information about a specific undo file:
e2undo -h {{path/to/undo_file}} {{/dev/sdXN}}
- Simulate replaying the undo file and display the candidate blocks:
e2undo -nv {{path/to/undo_file}} {{/dev/sdXN}}
- Perform an undo operation:
e2undo {{path/to/undo_file}} {{/dev/sdXN}}
- Perform an undo operation and display [v]erbose information:
e2undo -v {{path/to/undo_file}} {{/dev/sdXN}}
- Write the old contents of the block to an undo file before overwriting a filesystem block:
e2undo -z {{path/to/file.e2undo}} {{path/to/undo_file}} {{/dev/sdXN}}