[PATCH v2] erofs-utils: fsck: support extracting subtrees

Gao Xiang hsiangkao at linux.alibaba.com
Thu Feb 26 16:48:12 AEDT 2026



On 2026/2/26 12:00, Inseob Kim wrote:
> Add --nid and --path options to fsck.erofs to allow users to check
> or extract specific sub-directories or files instead of the entire
> filesystem.
> 
> This is useful for targeted data recovery or verifying specific
> image components without the overhead of a full traversal.
> 
> Signed-off-by: Inseob Kim <inseob at google.com>
> 
> ---
> 
> v2: retrieve pnid correctly rather than pnid == nid hack

Applied to -experimental branch but could you update
the manpage as well as the next version?

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list