Skip to content

erofs-utils: Address doc and flag-parsing snags

Luke T. Shumaker linux-erofs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3erofs-utils: have each non-fuse command take -h, --help, -V, and --versiondump/main.c fsck/main.c man/dump.erofs.1 +3 more+36 -180 replies
2/3erofs-utils: improve the usage and version text of non-fuse commandsdump/main.c fsck/main.c include/erofs/compress.h +4 more+163 -1110 replies
3/3erofs-utils: fsck: Add -a, -A, and -y flagsfsck/main.c man/fsck.erofs.1+11 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] erofs-utils: Address doc and flag-parsing snags

From: "Luke T. Shumaker" <[email protected]>

Hi all,

This patchset addresses snags that I hit while adopting erofs for our system images.

- The first patch is really just setting a baseline for the next two.

- The second patch is improving the --help text to address the snag that I had to read the source code to understand how to use the mkfs.erofs -z flag, and also setting the stage for the third patch. In doing this I broadly improved the --help text overall, not just for mkfs.erofs.

- The third patch is adding no-op -a, -A, and -y flags to fsck.erofs, to address the snag that I was seeing errors in the boot scroll.

I didn't touch erofsfuse in any of these, not because it isn't worthy of the changes from the first two patches, just that I decided it would have been too much work at the moment.

Luke T. Shumaker (3):
erofs-utils: have each non-fuse command take -h, --help, -V, and
--version
erofs-utils: improve the usage and version text of non-fuse commands
erofs-utils: fsck: Add -a, -A, and -y flags

 dump/main.c              |  47 +++++++------
 fsck/main.c              |  81 ++++++++++++++--------
 include/erofs/compress.h |   2 +-
 lib/compressor.c         |  13 +---
 lib/compressor.h         |   9 ++-
 man/dump.erofs.1         |   5 +-
 man/fsck.erofs.1         |   8 ++-
 man/mkfs.erofs.1         |  15 ++--
 mkfs/main.c              | 144 +++++++++++++++++++++++++--------------
 9 files changed, 202 insertions(+), 122 deletions(-)
Signature · 2 lines
Happy hacking,
~ Luke T. Shumaker