[feature request] extract a single file from EROFS filesystem

Gao Xiang hsiangkao at linux.alibaba.com
Thu Jan 9 20:35:55 AEDT 2025


Hi,

On 2025/1/9 02:14, Daniel Erez wrote:
> Hi,
> 
> According to fsck.erofs manual [1], the tool supports extracting the whole file system.
> Would it be applicable to introduce an option for extracting a specific file from the image?
> I.e. something similar to the '-extract-file' option available in unsquashfs tool [2].
> Or, is there any other alternative for extracting a file from an EROFS image?
> 
> [1] https://man.archlinux.org/man/extra/erofs-utils/fsck.erofs.1.en#extract <https://man.archlinux.org/man/extra/erofs-utils/fsck.erofs.1.en#extract>
> [2] https://manpages.debian.org/testing/squashfs-tools/unsquashfs.1.en.html#extract <https://manpages.debian.org/testing/squashfs-tools/unsquashfs.1.en.html#extract>

I will add this later.

Thanks,
Gao Xiang

> 
> Thanks!
> Daniel
> 



More information about the Linux-erofs mailing list