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

squashfs extraction #3

Closed
probonopd opened this issue Oct 16, 2019 · 5 comments
Closed

squashfs extraction #3

probonopd opened this issue Oct 16, 2019 · 5 comments

Comments

@probonopd
Copy link

probonopd commented Oct 16, 2019

Looking at internal/squashfs/writer.go I wonder whether you know of any or are working on any methods to extract squashfs images using Go, to list the contents of squashfs images, and to extract particular files from them.

I am pondering whether to write AppImage tools in Go for which this would come handy.

@stapelberg
Copy link
Contributor

Have a look at https://github.com/distr1/distri/blob/master/internal/squashfs/reader.go :)

@probonopd
Copy link
Author

D'oh, stupid me. Thanks!

@stapelberg
Copy link
Contributor

No worries. I’ll close this issue now, but feel free to reach out if you get stuck.

@probonopd
Copy link
Author

Do you plan to move it out of "internal" eventually? One thing I'd be interested in right away would be reading and writing at an offset, similar to https://patchwork.kernel.org/patch/9544197/.

@stapelberg
Copy link
Contributor

I have no plans of moving this out of internal, but feel free to publish a new repository with this code and take it from there :)

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

2 participants