Lurker News
With the quarantine being placed in effect in a lot of cities across the world, we all likely have a little bit more time to focus on personal projects or learning something new from the comfort of our homes. What are you guys up to these days?

Comments (1,237) 697 threads

Show all comments

Showing thread 200 of 697

light_cone1 reply#
I am working on a file archive tool, written in go, to add random file access to .tar.gz of arbitrary size while maintaining compatibility as a valid .tar.gz.

The idea is to embed in gzip metadata the tar file index, and compress the gzip using small chunks of 1MB, whose offsets are also indexed in the metadata.
Since the indexes are written in metadata fields, it is invisible for normal linear decompression.

bouk1 reply#
Neat idea. Would this make it possible to use a tar gz as a squashfs archive, basically?
light_cone#
Thanks! I did not know squashfs, but yes it seems the same idea...

Thank you for your input, I think it might be of greater value if I could index enough data to provide a FUSE filesystem instead of a simple archive utility. That's a great idea, I'll look into it.