mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-12-04 00:31:25 +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>
57 lines
1.2 KiB
Groff
57 lines
1.2 KiB
Groff
.\" Copyright (C) 2015 Huawei Ltd.
|
|
.\"
|
|
.TH SLOAD.F2FS 8
|
|
.SH NAME
|
|
sload.f2fs \- load directories and files into the device directly
|
|
.SH SYNOPSIS
|
|
.B sload.f2fs
|
|
[
|
|
.B \-f
|
|
.I source directory path
|
|
]
|
|
[
|
|
.B \-t
|
|
.I mount point
|
|
]
|
|
[
|
|
.B \-d
|
|
.I debugging-level
|
|
]
|
|
.I device
|
|
.SH DESCRIPTION
|
|
.B sload.f2fs
|
|
is used to load directories and files into 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 sload.f2fs
|
|
is 0 on success and -1 on failure.
|
|
.SH OPTIONS
|
|
.TP
|
|
.BI \-f " source directory path"
|
|
Specify the source directory path to be loaded.
|
|
.TP
|
|
.BI \-t " mount point path"
|
|
Specify the mount point path in the partition to load.
|
|
.TP
|
|
.BI \-d " debug-level"
|
|
Specify the level of debugging options.
|
|
The default number is 0, which shows basic debugging messages.
|
|
.TP
|
|
.SH AUTHOR
|
|
This version of
|
|
.B sload.f2fs
|
|
has been written by Hou Pengyang <houpengyang@huawei.com>,
|
|
Liu Shuoran <liushuoran@huawei.com>, Jaegeuk Kim <jaegeuk@kernel.org>
|
|
.SH AVAILABILITY
|
|
.B sload.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 dump.f2fs(8),
|
|
.BR defrag.f2fs(8),
|
|
.BR resize.f2fs(8).
|