https://github.com/mxmlnkn/ratarmountpp
C++ implementation of ratarmount
https://github.com/mxmlnkn/ratarmountpp
Last synced: 3 months ago
JSON representation
C++ implementation of ratarmount
- Host: GitHub
- URL: https://github.com/mxmlnkn/ratarmountpp
- Owner: mxmlnkn
- License: mit
- Created: 2021-10-02T13:00:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-23T00:55:36.000Z (over 3 years ago)
- Last Synced: 2025-01-22T19:11:55.638Z (5 months ago)
- Language: C++
- Size: 10.7 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Ratarmount++
[](http://opensource.org/licenses/MIT)
[](https://github.com/mxmlnkn/ratarmountpp/actions)
This repository provides a prototype of ratarmount implemented with C++ to improve performance over the Python version, which has its limits in the Python layer itself and Python's global interpreter lock.
For now, this module is a proof of concept and will only work with uncompressed and bzip2 compressed TAR files, which do have preexisting `.sqlite.index` files created by the original ratarmount.# Installation
```
sudo apt install g++ cmake
git clone --recursive https://github.com/mxmlnkn/ratarmountpp.git
cd ratarmountpp; mkdir build; cd build
cmake ..
make -j $( nproc )
sudo make install
```# Usage
Ratarmount++ requires a preexisting index file, therefore the workflow is like follows:
```bash
ratarmount mylargetar.tar mountpoint # creates index
fusermount -u mountpoint
ratarmount++ mylargetar.tar mountpoint
src/tools/benchmark-reading mountpoint
```