Skip to content

Instantly share code, notes, and snippets.

@CodyKochmann
Created September 24, 2023 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CodyKochmann/2c75ea14ff2a964082b9e4ca094d18bd to your computer and use it in GitHub Desktop.
Save CodyKochmann/2c75ea14ff2a964082b9e4ca094d18bd to your computer and use it in GitHub Desktop.
how I keep cache to per boot lifetimes
# file /etc/fstab
# by: Cody Kochmann
# license: MIT
# description: how I keep cache to per boot lifetimes
# Note - pull the uid and gid from /etc/fstab to ensure correct permissions
# Note - the "size" can be defined as units like "1G" or percentages like "10%"
# configuration for per user cache
tmpfs /home/cody/.cache tmpfs defaults,uid=1000,gid=1000,mode=0700,size=10% 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment