Skip to content

Commit

Permalink
Merge pull request #258 from eriksjolund/fix-missing-options
Browse files Browse the repository at this point in the history
mountcomposefs, mkcomposefs: Add missing options to usage information
  • Loading branch information
alexlarsson authored Mar 11, 2024
2 parents 418f4f7 + d59dd9b commit 9bc76dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions man/mount.composefs.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ options when passed via the `-o OPTIONS` argument.

This option also implies **verity**.

**idmap**=*PATH*
: Specify a path to a user namespace whose ID mapping should be used.
The typical format for this type of path is `/proc/<pid>/ns/user`

**verity**
: If this is specified, all files in the *IMAGE* must specify an fs-verity
digest, and all the files in the base dirs must have a matching fs-verity
Expand Down
1 change: 1 addition & 0 deletions tools/mkcomposefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ static void usage(const char *argv0)
"Options:\n"
" --digest-store=PATH Store content files in this directory\n"
" --use-epoch Make all mtimes zero\n"
" --skip-devices Don't store device nodes\n"
" --skip-xattrs Don't store file xattrs\n"
" --user-xattrs Only store user.* xattrs\n"
" --print-digest Print the digest of the image\n"
Expand Down
1 change: 1 addition & 0 deletions tools/mountcomposefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ static void usage(const char *argv0)
"Supported options:\n"
" basedir=PATH[:PATH] Specify location of basedir(s)\n"
" digest=DIGEST Specify required image digest\n"
" idmap=PATH Specify path to a user namespace whose ID mapping should be used\n"
" verity Require all files to have specified and valid fs-verity digests\n"
" tryverity If supported by kernel, require fs-verity\n"
" ro Read only\n"
Expand Down

0 comments on commit 9bc76dd

Please sign in to comment.