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

Gao Xiang hsiangkao at linux.alibaba.com
Sun Nov 5 23:51:27 AEDT 2023



On 2023/11/3 03:31, Luke T. Shumaker wrote:
> From: "Luke T. Shumaker" <lukeshu at umorpha.io>
> 
> 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.

Thanks, applied for testing.

Thanks,
Gao Xiang

> 
> 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(-)
> 


More information about the Linux-erofs mailing list