All of lore.kernel.org
 help / color / mirror / Atom feed
* Request for Assistance: Decompressing EROFS Image without Mounting
@ 2024-01-03 10:12 王硕 via Linux-erofs
  2024-01-03 10:48 ` Gao Xiang
  0 siblings, 1 reply; 6+ messages in thread
From: 王硕 via Linux-erofs @ 2024-01-03 10:12 UTC (permalink / raw)
  To: linux-erofs@lists.ozlabs.org

[-- Attachment #1: Type: text/plain, Size: 2043 bytes --]

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.


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@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!******/#

[-- Attachment #2: Type: text/html, Size: 8567 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Request for Assistance: Decompressing EROFS Image without Mounting
  2024-01-03 10:12 Request for Assistance: Decompressing EROFS Image without Mounting 王硕 via Linux-erofs
@ 2024-01-03 10:48 ` Gao Xiang
  2024-01-03 11:09   ` 答复: [External Mail]Re: " 王硕 via Linux-erofs
  0 siblings, 1 reply; 6+ messages in thread
From: Gao Xiang @ 2024-01-03 10:48 UTC (permalink / raw)
  To: 王硕, linux-erofs@lists.ozlabs.org

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@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!******/#

^ permalink raw reply	[flat|nested] 6+ messages in thread

* 答复: [External Mail]Re: Request for Assistance: Decompressing EROFS Image without Mounting
  2024-01-03 10:48 ` Gao Xiang
@ 2024-01-03 11:09   ` 王硕 via Linux-erofs
  2024-01-03 11:21     ` Gao Xiang
  0 siblings, 1 reply; 6+ messages in thread
From: 王硕 via Linux-erofs @ 2024-01-03 11:09 UTC (permalink / raw)
  To: Gao Xiang, linux-erofs@lists.ozlabs.org


[-- Attachment #1.1: Type: text/plain, Size: 3663 bytes --]

Hi,


Thanks for your reply, and I have tried the option you suggested but failed.Could you help me to solve it?

Following is the result of executing the option:


[cid:40c1b183-dadf-48fe-97a7-2193f8a552db]


(I have downloaded the source code from  https://github.com/erofs/erofs-utils/tree/dev, and make install on my Ubuntu20.04)

________________________________
发件人: Gao Xiang <hsiangkao@linux.alibaba.com>
发送时间: 2024年1月3日 18:48:45
收件人: 王硕; linux-erofs@lists.ozlabs.org
主题: [External Mail]Re: Request for Assistance: Decompressing EROFS Image without Mounting

[外部邮件] 此邮件来源于小米公司外部,请谨慎处理。若对邮件安全性存疑,请将邮件转发给misec@xiaomi.com进行反馈

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@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!******/#
#/******本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! 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!******/#

[-- Attachment #1.2: Type: text/html, Size: 6175 bytes --]

[-- Attachment #2: pastedImage.png --]
[-- Type: image/png, Size: 62928 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 答复: [External Mail]Re: Request for Assistance: Decompressing EROFS Image without Mounting
  2024-01-03 11:09   ` 答复: [External Mail]Re: " 王硕 via Linux-erofs
@ 2024-01-03 11:21     ` Gao Xiang
  2024-01-03 11:23       ` 答复: " 王硕 via Linux-erofs
  0 siblings, 1 reply; 6+ messages in thread
From: Gao Xiang @ 2024-01-03 11:21 UTC (permalink / raw)
  To: 王硕, linux-erofs@lists.ozlabs.org



On 2024/1/3 19:09, 王硕 via Linux-erofs wrote:
> Hi,
> 
> 
> Thanks for your reply, and I have tried the option you suggested but failed.Could you help me to solve it?
> 
> Following is the result of executing the option:
> 
> 
> 
> 
> (I have downloaded the source code from https://github.com/erofs/erofs-utils/tree/dev <https://github.com/erofs/erofs-utils/tree/dev>, and make install on my Ubuntu20.04)

  - Could you use a newer distribution instead such as Debian 12?
Otherwise it will be more complicated, because lz4/lzma weren't
build-in according to the snapshot.

  - It should be "fsck.erofs --extract=mi_ext mi_ext.img"

  - As for Xiaomi Corp, is there some other colleague which can
help you resolve this?

Thanks,
Gao Xiang

^ permalink raw reply	[flat|nested] 6+ messages in thread

* 答复: 答复: [External Mail]Re: Request for Assistance: Decompressing EROFS Image without Mounting
  2024-01-03 11:21     ` Gao Xiang
@ 2024-01-03 11:23       ` 王硕 via Linux-erofs
  2024-01-03 12:44         ` 王硕 via Linux-erofs
  0 siblings, 1 reply; 6+ messages in thread
From: 王硕 via Linux-erofs @ 2024-01-03 11:23 UTC (permalink / raw)
  To: Gao Xiang, linux-erofs@lists.ozlabs.org

[-- Attachment #1: Type: text/plain, Size: 1981 bytes --]

Thank you for your suggestions. I will try to seek assistance from colleagues within the company. I appreciate your help.

________________________________
发件人: Gao Xiang <hsiangkao@linux.alibaba.com>
发送时间: 2024年1月3日 19:21:39
收件人: 王硕; linux-erofs@lists.ozlabs.org
主题: Re: 答复: [External Mail]Re: Request for Assistance: Decompressing EROFS Image without Mounting

[外部邮件] 此邮件来源于小米公司外部,请谨慎处理。若对邮件安全性存疑,请将邮件转发给misec@xiaomi.com进行反馈

On 2024/1/3 19:09, 王硕 via Linux-erofs wrote:
> Hi,
>
>
> Thanks for your reply, and I have tried the option you suggested but failed.Could you help me to solve it?
>
> Following is the result of executing the option:
>
>
>
>
> (I have downloaded the source code from https://github.com/erofs/erofs-utils/tree/dev <https://github.com/erofs/erofs-utils/tree/dev>, and make install on my Ubuntu20.04)

  - Could you use a newer distribution instead such as Debian 12?
Otherwise it will be more complicated, because lz4/lzma weren't
build-in according to the snapshot.

  - It should be "fsck.erofs --extract=mi_ext mi_ext.img"

  - As for Xiaomi Corp, is there some other colleague which can
help you resolve this?

Thanks,
Gao Xiang
#/******本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! 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!******/#

[-- Attachment #2: Type: text/html, Size: 3262 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [External Mail]Re: Request for Assistance: Decompressing EROFS Image without Mounting
  2024-01-03 11:23       ` 答复: " 王硕 via Linux-erofs
@ 2024-01-03 12:44         ` 王硕 via Linux-erofs
  0 siblings, 0 replies; 6+ messages in thread
From: 王硕 via Linux-erofs @ 2024-01-03 12:44 UTC (permalink / raw)
  To: Gao Xiang, linux-erofs@lists.ozlabs.org

[-- Attachment #1: Type: text/plain, Size: 2540 bytes --]

The issue has been resolved; it was due to a lack of support for the lz4 library on my computer. The source  code of master branch has no problem. Thanks to your assistance, and thanks help from huangjianan@xiaomi.com
________________________________
发件人: 王硕 <wangshuo16@xiaomi.com>
发送时间: Wednesday, January 3, 2024 7:23:47 PM
收件人: Gao Xiang <hsiangkao@linux.alibaba.com>; linux-erofs@lists.ozlabs.org <linux-erofs@lists.ozlabs.org>
主题: 答复: 答复: [External Mail]Re: Request for Assistance: Decompressing EROFS Image without Mounting


Thank you for your suggestions. I will try to seek assistance from colleagues within the company. I appreciate your help.

________________________________
发件人: Gao Xiang <hsiangkao@linux.alibaba.com>
发送时间: 2024年1月3日 19:21:39
收件人: 王硕; linux-erofs@lists.ozlabs.org
主题: Re: 答复: [External Mail]Re: Request for Assistance: Decompressing EROFS Image without Mounting

[外部邮件] 此邮件来源于小米公司外部,请谨慎处理。若对邮件安全性存疑,请将邮件转发给misec@xiaomi.com进行反馈

On 2024/1/3 19:09, 王硕 via Linux-erofs wrote:
> Hi,
>
>
> Thanks for your reply, and I have tried the option you suggested but failed.Could you help me to solve it?
>
> Following is the result of executing the option:
>
>
>
>
> (I have downloaded the source code from https://github.com/erofs/erofs-utils/tree/dev <https://github.com/erofs/erofs-utils/tree/dev>, and make install on my Ubuntu20.04)

  - Could you use a newer distribution instead such as Debian 12?
Otherwise it will be more complicated, because lz4/lzma weren't
build-in according to the snapshot.

  - It should be "fsck.erofs --extract=mi_ext mi_ext.img"

  - As for Xiaomi Corp, is there some other colleague which can
help you resolve this?

Thanks,
Gao Xiang
#/******本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! 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!******/#

[-- Attachment #2: Type: text/html, Size: 4218 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-03 12:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-03 10:12 Request for Assistance: Decompressing EROFS Image without Mounting 王硕 via Linux-erofs
2024-01-03 10:48 ` Gao Xiang
2024-01-03 11:09   ` 答复: [External Mail]Re: " 王硕 via Linux-erofs
2024-01-03 11:21     ` Gao Xiang
2024-01-03 11:23       ` 答复: " 王硕 via Linux-erofs
2024-01-03 12:44         ` 王硕 via Linux-erofs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.