summaryrefslogtreecommitdiffstats
path: root/system/mlocate/README
diff options
context:
space:
mode:
author B. Watson2019-12-28 02:55:52 +0100
committer Willy Sudiarto Raharjo2019-12-28 02:55:52 +0100
commit18ce54101fcedd1b595c1fcc53860a31e8f5c463 (patch)
tree3eb1db296fcdc5214e209c9756c4b196cdcd0f83 /system/mlocate/README
parentc3aed3486866289068e8b4c88c862b3a6deb8f24 (diff)
downloadslackbuilds-18ce54101fcedd1b595c1fcc53860a31e8f5c463.tar.gz
system/mlocate: Added (locate/updatedb implementation).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/mlocate/README')
-rw-r--r--system/mlocate/README31
1 files changed, 31 insertions, 0 deletions
diff --git a/system/mlocate/README b/system/mlocate/README
new file mode 100644
index 0000000000..f2029ce76a
--- /dev/null
+++ b/system/mlocate/README
@@ -0,0 +1,31 @@
+mlocate (locate/updatedb implementation)
+
+mlocate is a locate/updatedb implementation. It keeps a database of all
+existing files and allows you to lookup files by name. The 'm' stands for
+"merging": updatedb reuses the existing database to avoid rereading most
+of the file system, which makes updatedb faster and does not trash the
+system caches as much as traditional locate implementations.
+
+This is the same "locate" that's in Slackware-current (and eventually 15.0).
+
+This conflicts with Slackware 14.2's slocate package! Before installing
+this, add slocate to /etc/slackpkg/blacklist and then:
+
+ # removepkg slocate
+
+It's also recommended to:
+
+ # rm -rf /var/lib/slocate /etc/updatedb.conf
+
+The locate database will be created daily, as a cron job. If you don't
+want to wait, you can create it manually:
+
+ # /etc/cron.daily/mlocate
+
+If you want to revert to Slackware's slocate, remove slocate from
+/etc/slackpkg/blacklist, then:
+
+ # removepkg mlocate
+ # rm -rf /var/lib/mlocate /etc/updatedb.conf
+ # slackpkg update
+ # slackpkg install slocate