From: Gao Xiang <xiang@kernel.org>
To: Naoto Yamaguchi <wata2ki@gmail.com>
Cc: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>,
linux-erofs@lists.ozlabs.org
Subject: Re: [PATCH 2/2] erofs-utils: mkfs: updating man to use uid/gid offsetting support
Date: Sun, 14 Aug 2022 14:18:24 +0800 [thread overview]
Message-ID: <YviTsC6IwGrvl2k3@debian> (raw)
In-Reply-To: <20220814022915.7964-2-naoto.yamaguchi@aisin.co.jp>
On Sun, Aug 14, 2022 at 11:29:15AM +0900, Naoto Yamaguchi wrote:
> 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@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
This should be --gid-offset. Also these would be better to be
in alphabet order.
I will update these by hand.
Thanks,
Gao Xiang
> +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
>
next prev parent reply other threads:[~2022-08-14 6:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-14 2:29 [PATCH 1/2] erofs-utils: mkfs: improvement for unprivileged container support Naoto Yamaguchi
2022-08-14 2:29 ` [PATCH 2/2] erofs-utils: mkfs: updating man to use uid/gid offsetting support Naoto Yamaguchi
2022-08-14 6:18 ` Gao Xiang [this message]
2022-08-14 6:21 ` [PATCH 1/2] erofs-utils: mkfs: improvement for unprivileged container support Gao Xiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YviTsC6IwGrvl2k3@debian \
--to=xiang@kernel.org \
--cc=linux-erofs@lists.ozlabs.org \
--cc=naoto.yamaguchi@aisin.co.jp \
--cc=wata2ki@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.