mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-24 02:29:51 +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>
71 lines
1.5 KiB
Groff
71 lines
1.5 KiB
Groff
.\" Copyright (c) 2013 Samsung Electronics Co., Ltd.
|
|
.\"
|
|
.TH DUMP.F2FS 8
|
|
.SH NAME
|
|
dump.f2fs \- retrieve directory and file entries from an F2FS-formated image
|
|
.SH SYNOPSIS
|
|
.B dump.f2fs
|
|
[
|
|
.B \-i
|
|
.I inode number
|
|
]
|
|
[
|
|
.B \-s
|
|
.I SIT range
|
|
]
|
|
[
|
|
.B \-a
|
|
.I SSA range
|
|
]
|
|
[
|
|
.B \-b
|
|
.I block address
|
|
]
|
|
[
|
|
.B \-d
|
|
.I debugging-level
|
|
]
|
|
.I device
|
|
.SH DESCRIPTION
|
|
.B dump.f2fs
|
|
is used to retrieve f2fs metadata (usually in a disk partition).
|
|
\fIdevice\fP is the special file corresponding to the device (e.g.
|
|
\fI/dev/sdXX\fP).
|
|
|
|
Currently, it can retrieve 1) a file given its inode number, 2) SIT entries into
|
|
a file, 3) SSA entries into a file, 4) reverse information from the given block
|
|
address.
|
|
.PP
|
|
The exit code returned by
|
|
.B dump.f2fs
|
|
is 0 on success and -1 on failure.
|
|
.SH OPTIONS
|
|
.TP
|
|
.BI \-i " inode number"
|
|
Specify an inode number to dump out.
|
|
.TP
|
|
.BI \-s " SIT range"
|
|
Specify a range presented by segment numbers to dump SIT entries.
|
|
.TP
|
|
.BI \-a " SSA range"
|
|
Specify a range presented by segment numbers to dump SSA entries.
|
|
.TP
|
|
.BI \-b " block address"
|
|
Specify a block address to retrieve its metadata information.
|
|
.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>.
|
|
.SH AVAILABILITY
|
|
.B dump.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 fsck.f2fs(8),
|
|
.BR defrag.f2fs(8),
|
|
.BR resize.f2fs(8),
|
|
.BR sload.f2fs(8).
|