Skip to content

Instantly share code, notes, and snippets.

@nickistre
Last active November 2, 2015 14:21
Show Gist options
  • Save nickistre/77c1546829649d48d1c0 to your computer and use it in GitHub Desktop.
Save nickistre/77c1546829649d48d1c0 to your computer and use it in GitHub Desktop.
Flashcache Home settings example - Kubuntu 15.04
#######################
# Flashcache settings #
#######################
# Save at /etc/sysctl.d/90-flashcache-home.conf
# Setup changes for home mounted flashcache
# Change reclaim policy to LRU
dev.flashcache.sdc3+9d2bd66e-d2d8-4e6d-a971-613bd7c7e0be.reclaim_policy=1
# mounted-home - Trigger actions when home becomes available.
# Save at /etc/init/mounted-home.conf
description "Trigger actions when /home becomes available."
start on mounted MOUNTPOINT=/home
task
script
sysctl -p /etc/sysctl.d/90-flashcache-home.conf
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment