Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simg2img has seeking error with input stdin #36

Open
LinhDNguyen opened this issue Nov 8, 2022 · 0 comments
Open

simg2img has seeking error with input stdin #36

LinhDNguyen opened this issue Nov 8, 2022 · 0 comments

Comments

@LinhDNguyen
Copy link

LinhDNguyen commented Nov 8, 2022

Tried to create image from stdin sparse image, but got this error. Source code at master branch commit 2807b36

# cat image.img | simg2img - test.ext4 
Unknown error -29 at seeking
Failed to read sparse file

From the code, it looks like the input must be able to seek, but stdin doesn't.
If it doesn't support stdin, just remove this capable in main()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant