Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #32354

Closed (moved)
(moved)
Open
Created Nov 01, 2019 by Trac@tracbot

Support "Cache Directory Tagging Standard" (already implemented e.g. in GNU tar)

Tor seems to store sizable cached data in /var/lib/tor/diff-cache/. There is now a standard for apps to indicate that transient caches like this to be skipped from backups: https://bford.info/cachedir/spec.html

The application needs to create (and recreate) a file called "CACHEDIR.TAG" in the cache directory, with content of "Signature: 8a477f597d28d172789f06886806bc55".

Skipping cache directories marked as such via this standard is already supported for example in GNU tar:

--exclude-caches Exclude contents of directories containing file CACHEDIR.TAG, except for the tag file itself.

--exclude-caches-all Exclude directories containing file CACHEDIR.TAG and the file itself.

--exclude-caches-under Exclude everything under directories containing CACHEDIR.TAG

Trac:
Username: rm

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking