[PATCH 2/2] erofs-utils: mkfs: updating man to use uid/gid offsetting support

Naoto Yamaguchi wata2ki at gmail.com
Sun Aug 14 12:29:15 AEST 2022


Previous commit add support uid/gid offsetting.
This patch add information of these option to man/mkfs.erofs.1.

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi at aisin.co.jp>
---
 man/mkfs.erofs.1 | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/man/mkfs.erofs.1 b/man/mkfs.erofs.1
index d811f20..cbc4ae2 100644
--- a/man/mkfs.erofs.1
+++ b/man/mkfs.erofs.1
@@ -108,11 +108,21 @@ You may give multiple `--exclude-regex` options.
 Specify a \fIfile_contexts\fR file to setup / override selinux labels.
 .TP
 .BI "\-\-force-uid=" UID
-Set all file uids to \fIUID\fR.
+Set all file uids to \fIUID\fR. 
 .TP
 .BI "\-\-force-gid=" GID
 Set all file gids to \fIGID\fR.
 .TP
+.BI "\-\-uid-offset=" UIDOFFSET
+Add \fIUIDOFFSET\fR to all file uids.
+When this option used combine with force-uid, the final file uids sets
+\fIUID\fR + \fIUIDOFFSET\fR.
+.TP
+.BI "\-\-id-offset=" GIDOFFSET
+Add \fIGIDOFFSET\fR to all file gids.
+When this option used combine with force-gid, the final file gids sets
+\fIGID\fR + \fIGID-OFFSET\fR.
+.TP
 .B \-\-help
 Display this help and exit.
 .TP
-- 
2.25.1



More information about the Linux-erofs mailing list