What is Ratarmount?
masterRatarmount is a tool that provides random access to archived resources (like TAR files) without requiring full extraction. It achieves this by collecting file positions and building indices containing seek points. It then mounts the archive using FUSE (via mfusepy), allowing you to browse and read files as if they were on a standard filesystem.
Key capabilities include:
- Random Access: Fast seeking inside compressed streams (bzip2, gzip, xz, zstd).
- Highly Parallelized: Uses all available cores for decompression by default (controllable via
-P <cores>). - Recursive Mounting: Automatically mounts nested archives (TARs inside TARs) into subdirectories.
- Union/Bind Mounting: Supports merging multiple TARs, folders, or compressed files under a single mountpoint.
- Write Overlay: Allows redirecting changes to a specific folder so deletions and modifications can be tracked and potentially applied back to the archive.
- Remote Support: Mounts archives via URIs using
fsspec(e.g., HTTP, SFTP, S3, Dropbox, GitHub).