aboutsummaryrefslogtreecommitdiff
path: root/ubifs-utils/Makemodule.am
diff options
context:
space:
mode:
authorHuang Xiaojia <huangxiaojia2@huawei.com>2024-11-11 17:08:14 +0800
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2024-11-11 10:32:46 +0100
commitfda7068da735d3e574bc46b70d3af62a5db8e908 (patch)
tree69d9e10d411a291305da3542ea644a35c50aec7f /ubifs-utils/Makemodule.am
parentb064a78fb9a9503a4bf87a5149ca8fe5711b2cff (diff)
fsck.ubifs: Check and create the lost+found
This is the 16/18 step of fsck. Check whether the lost+found is existed, create a new one if it is not found. This step makes sure that disconnected file can be recovered under the lost+found. Signed-off-by: Huang Xiaojia <huangxiaojia2@huawei.com> Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/Makemodule.am')
-rw-r--r--ubifs-utils/Makemodule.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/ubifs-utils/Makemodule.am b/ubifs-utils/Makemodule.am
index b80196a..a511c40 100644
--- a/ubifs-utils/Makemodule.am
+++ b/ubifs-utils/Makemodule.am
@@ -86,7 +86,8 @@ fsck_ubifs_SOURCES = \
ubifs-utils/fsck.ubifs/extract_files.c \
ubifs-utils/fsck.ubifs/rebuild_fs.c \
ubifs-utils/fsck.ubifs/check_files.c \
- ubifs-utils/fsck.ubifs/check_space.c
+ ubifs-utils/fsck.ubifs/check_space.c \
+ ubifs-utils/fsck.ubifs/handle_disconnected.c
fsck_ubifs_LDADD = libmtd.a libubi.a $(ZLIB_LIBS) $(LZO_LIBS) $(ZSTD_LIBS) $(UUID_LIBS) $(LIBSELINUX_LIBS) $(OPENSSL_LIBS) \
$(DUMP_STACK_LD) -lm -lpthread