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

Can we use the index to mount the archive? #64

Closed
Redsandro opened this issue Apr 26, 2016 · 2 comments
Closed

Can we use the index to mount the archive? #64

Redsandro opened this issue Apr 26, 2016 · 2 comments

Comments

@Redsandro
Copy link

So this index.. can we use it for neat tricks like mounting the archive (read-only) without extracting everything first?

For example to use FreeFileSync or some other dir-diff tool?

@vasi
Copy link
Owner

vasi commented Apr 26, 2016

You can mount the uncompressed content with lzopfs: https://github.com/vasi/lzopfs

You can't mount a tarball from the index though, it only contains the filename. Other metadata that stat() needs—directory sizes, symlink targets, etc—would require decompression, and so would load really slowly.

@Redsandro
Copy link
Author

Thank you for the details. I guess the closest thing is to extract to /tmp/ and sync 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