mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 10:10:00 +00:00
390fe587b1
This patch adds to support restoring lost files into ./lost_found/. For example, # fsck.f2fs /dev/sdXX ... NID[0x87d7] is unreachable NID[0x87d8] is unreachable NID[0x87d9] is unreachable [FSCK] Unreachable nat entries [Fail] [0x4988] [FSCK] SIT valid block bitmap checking [Fail] [FSCK] Hard link checking for regular file [Ok..] [0x0] [FSCK] valid_block_count matching with CP [Fail] [0x2] [FSCK] valid_node_count matcing with CP (de lookup) [Fail] [0x1] [FSCK] valid_node_count matcing with CP (nat lookup) [Ok..] [0x4989] [FSCK] valid_inode_count matched with CP [Fail] [0x1] [FSCK] free segment_count matched with CP [Ok..] [0x1f7] [FSCK] next block offset is free [Ok..] [FSCK] fixing SIT types [FSCK] other corrupted bugs [Fail] Do you want to restore lost files into ./lost_found/? [Y/N] y Then, you can restore unreachable files from ./lost_found/ in its best effort. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> |
||
---|---|---|
.. | ||
defrag.c | ||
dir.c | ||
dump.c | ||
f2fs.h | ||
fsck.c | ||
fsck.h | ||
main.c | ||
Makefile.am | ||
mount.c | ||
node.c | ||
node.h | ||
resize.c | ||
segment.c | ||
sload.c | ||
xattr.c | ||
xattr.h |