Request for Assistance: Decompressing EROFS Image without Mounting

Gao Xiang hsiangkao at linux.alibaba.com
Wed Jan 3 21:48:45 AEDT 2024


Hi,

On 2024/1/3 18:12, 王硕 via Linux-erofs wrote:
> Dear develoers,
> 
> 
> I hope this email finds you well. My name is wang shuo, and I am reaching out to seek your expertise regarding decompressing an EROFS (Enhanced Read-Only File System) image without the need for mounting. I have come across a unique situation where I do not have permission to create a loop device for mounting the image, and I am exploring alternative methods to access its content.
> 
> 
> I understand that the typical approach involves mounting the EROFS image to obtain its contents. However, due to specific constraints in my environment, this approach is not feasible for me. Therefore, I am reaching out to you to inquire if there are alternative methods or tools available that would allow me to decompress the EROFS image directly without the necessity of mounting it.
> 
> 
> Your expertise in this area would be immensely valuable, and any guidance or recommendations you can provide will be highly appreciated. If there are specific tools, scripts, or techniques that you could suggest, it would greatly assist me in overcoming the challenges I currently face.
> 
> 

Doesn't
fsck.erofs --extract dir_path <img>

meet your requirement?

Thanks,
Gao Xiang

> I am grateful for your time and consideration in this matter. Thank you for your dedication to the developer community, and I look forward to hearing from you soon.> 
> 
> Best regards,
> 
> 
> wang shuo
> 
> wangshuo16 at xiaomi.com
> 
> #/******本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from XIAOMI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!******/#


More information about the Linux-erofs mailing list