mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-26 19:51:32 +00:00
603f8f9d36
This patch implements loading files into the existing partition. For example, # sload.f2fs -f ./ /dev/sdb1 Then, all the directories and files will be loaded into /dev/sdb1. By default, newly files should have inline_data and inline_xattr, if possible. Signed-off-by: Hou Pengyang <houpengyang@huawei.com> Signed-off-by: Liu Shuoran <liushuoran@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
70 lines
1.5 KiB
Groff
70 lines
1.5 KiB
Groff
.\" Copyright (c) 2013 Samsung Electronics Co., Ltd.
|
|
.\"
|
|
.TH FSCK.F2FS 8
|
|
.SH NAME
|
|
fsck.f2fs \- check a Linux F2FS file system
|
|
.SH SYNOPSIS
|
|
.B fsck.f2fs
|
|
[
|
|
.B \-a
|
|
.I enable auto fix
|
|
]
|
|
[
|
|
.B \-f
|
|
.I enable force fix
|
|
]
|
|
[
|
|
.B \-p
|
|
.I enable preen mode
|
|
]
|
|
[
|
|
.B \-t
|
|
.I show stored directory tree
|
|
]
|
|
[
|
|
.B \-d
|
|
.I debugging-level
|
|
]
|
|
.I device
|
|
.SH DESCRIPTION
|
|
.B fsck.f2fs
|
|
is used to check an f2fs file system (usually in a disk partition).
|
|
\fIdevice\fP is the special file corresponding to the device (e.g.
|
|
\fI/dev/sdXX\fP).
|
|
.PP
|
|
The exit code returned by
|
|
.B fsck.f2fs
|
|
is 0 on success and -1 on failure.
|
|
.SH OPTIONS
|
|
.TP
|
|
.BI \-a " enable auto fix"
|
|
Enable to run file system check only if a bug was reported by the F2FS kernel
|
|
module. It is disabled by default.
|
|
.TP
|
|
.BI \-f " enable force fix"
|
|
Enable to fix all the inconsistency in the partition.
|
|
.TP
|
|
.BI \-p " enable preen mode"
|
|
Same as "-a" to support general fsck convention.
|
|
.TP
|
|
.BI \-t " show stored directory tree"
|
|
Enable to show every directory entries in the partition.
|
|
.TP
|
|
.BI \-d " debug-level"
|
|
Specify the level of debugging options.
|
|
The default number is 0, which shows basic debugging messages.
|
|
.TP
|
|
.SH AUTHOR
|
|
Initial checking code was written by Byoung Geun Kim <bgbg.kim@samsung.com>.
|
|
Jaegeuk Kim <jaegeuk@kernel.org> reworked most parts of the codes to support
|
|
fixing any corrupted images.
|
|
.SH AVAILABILITY
|
|
.B fsck.f2fs
|
|
is available from git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git.
|
|
.SH SEE ALSO
|
|
.BR mkfs.f2fs(8),
|
|
.BR dump.f2fs(8),
|
|
.BR defrag.f2fs(8),
|
|
.BR resize.f2fs(8),
|
|
.BR sload.f2fs(8).
|