third_party_f2fs-tools/man/f2fslabel.8
Dongwoo Lee b0ca57aa78 tools: Introduce f2fslabel
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>
2023-04-13 14:13:45 +08:00

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.