From 18ce54101fcedd1b595c1fcc53860a31e8f5c463 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 28 Dec 2019 08:55:52 +0700 Subject: system/mlocate: Added (locate/updatedb implementation). Signed-off-by: Willy Sudiarto Raharjo --- system/mlocate/README | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 system/mlocate/README (limited to 'system/mlocate/README') diff --git a/system/mlocate/README b/system/mlocate/README new file mode 100644 index 0000000000000..f2029ce76a648 --- /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 -- cgit v1.2.3