mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-12-02 07:46:39 +00:00
b0ca57aa78
commit 6afd3e9df0
category: bugfix
issue: #I6VAS0
CVE: NA
Signed-off-by: DongSenhao <dongsenhao2@huawei.com>
---------------------------------------
Although many other filesystems provide a tool for changing volume
label, e.g. e2label for ext filesystem, but f2fs has no way to change
volume label except set it while formatting with mkfs.f2fs.
This introduces f2fslabel, simple tool for changing label of f2fs
volume.
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
create mode 100644 man/f2fslabel.8
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
34 lines
678 B
Groff
34 lines
678 B
Groff
.\" Copyright (c) 2021 Samsung Electronics Co., Ltd.
|
|
.\"
|
|
.TH F2FSLABEL 8
|
|
.SH NAME
|
|
f2fslabel \- Change the label on an f2fs volume
|
|
.SH SYNOPSIS
|
|
.B f2fslabel
|
|
.I device
|
|
[
|
|
.I volume-label
|
|
]
|
|
.SH DESCRIPTION
|
|
.B f2fslabel
|
|
will display or change the volume label on the f2fs located on
|
|
.I device.
|
|
.PP
|
|
If the optional argument
|
|
.I volume-label
|
|
is present, then
|
|
.B f2fslabel
|
|
will set the volume label to be
|
|
.IR volume-label .
|
|
.PP
|
|
Otherwise,
|
|
.B f2fslabel
|
|
will simply show the current label.
|
|
.PP
|
|
.SH AUTHOR
|
|
.B f2fslabel
|
|
was written by Dongwoo Lee (dwoo08.lee@samsung.com).
|
|
.SH AVAILABILITY
|
|
.B f2fslabel
|
|
is available from git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git.
|