Last active
November 2, 2015 14:21
-
-
Save nickistre/77c1546829649d48d1c0 to your computer and use it in GitHub Desktop.
Flashcache Home settings example - Kubuntu 15.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################### | |
# 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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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