question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can you force the Metadata Index Cache to write to ~/.ratarmount?

See original GitHub issue

First off: HOLY CRAP ratarmount IS AWESOME. 🎉 👍 💯 Thank you!

If you point ratarmount at a tarball on a remote filesystem, SQLite will fail to write the index sidecar.

Is there a way to force ratarmount to write to ~/.ratarmount instead?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
mxmlnkncommented, Dec 19, 2020

While I’m asking for new features: have you considered making the -r option work for directories of tarballs? I can certainly run a for loop and mount them all individually, but a super-powered -r would be pretty sweet.

Hi there again. I added this functionality including some tests on the develop branch. I’d still be glad if you could test it out and see whether that’s what you wanted or whether I misunderstood you. Note that you can control the mount position a bit with --strip-recursive-tar-extension. So for example, you should be able to do:

ratarmount --strip-recursive-tar-extension --recursive --index-folders "$( mktemp -d )" <my-folder-with-many-tars> <mount-point-with-all-those-tars-mounted>
1reaction
mxmlnkncommented, Dec 20, 2020

Thank you for your time 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to read index metadata required for backup. If the error ...
Select no if you want to force a clean index cache start. Please note though that initially some errors can occur when using...
Read more >
Lowering ram usage with ratarmount - Unix StackExchange
I just tested ratarmount with a file with 10M files. If you are not actively stat ing all the files, ratarmount will eventually...
Read more >
Index cache management - IBM
When IBM Spectrum Archive LE starts, it retrieves the inventory from the changer and removes cache files for any cartridges that are no...
Read more >
Mail index cache - Dovecot documentation
For type 2 clients the cache file is also somewhat helpful if client fetches any initial metadata. Some of the information is helpful...
Read more >
Is there a <meta> tag to turn off caching in all browsers?
For modern web browsers (After IE9). See the Duplicate listed at the top of the page for correct information! See answer here: How...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found