From e385e4dcc317b200151c2987162c9d8efbbef5c1 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Wed, 30 Apr 2014 10:50:58 +0200 Subject: [PATCH] add /media to the default skippedPaths list mostly as a reminder that blindly processing these with the general indexer is a bad idea (use separate indexes instead). --- src/sampleconf/recoll.conf.in | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/sampleconf/recoll.conf.in b/src/sampleconf/recoll.conf.in index dcbec289..b2305fe7 100644 --- a/src/sampleconf/recoll.conf.in +++ b/src/sampleconf/recoll.conf.in @@ -22,9 +22,15 @@ skippedNames = #* bin CVS Cache cache* .cache caughtspam tmp \ .recoll* xapiandb recollrc recoll.conf # Wildcard expressions for paths we shouldn't go into. The database and -# configuration directories will automatically be added in there, else the -# default value is empty -#skippedPaths = +# configuration directories will automatically be added in there. +# We add the usual mount point for removable media by default to remind +# people that it is a bad idea to naively have recoll work on these +# (esp. with the monitor: media gets indexed on mount, all data gets erased +# on unmount...). Typically the presence of /media is mostly a reminder, it +# would only have effect for someone who's indexing / ... +# Explicitely adding /media/xxx to the topdirs will override this. +skippedPaths = /media + # Same for real time indexing. The idea here is that there is stuff that # you might want to initially index but not monitor. If daemSkippedPaths is # not set, the daemon uses skippedPaths.