/lib/udev/rules.d/84-flashcache.rules is in flashcache-utils 3.1.3+git20150701-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # if you edit this file, your changes will disappear on update.
SUBSYSTEM!="block", GOTO=":end"
ACTION!="add|change", GOTO=":end"
PROGRAM+="/bin/grep -c '3.1.3+git20150701' /proc/flashcache/flashcache_version"\
,RESULT!="1"\
,RUN+="/usr/bin/logger -t flashcache Version mismatch between utilities and kernel module."\
,GOTO=":end"
PROGRAM+="/sbin/flashcache_load /dev/%k"\
,RUN+="/usr/bin/logger -t flashcache[/dev/%k] Loaded flashcache device. %c"
LABEL=":end"
|