aboutsummaryrefslogtreecommitdiff
path: root/system/mlocate/README
blob: f2029ce76a648ef09a626a9e0bb3263a30b517f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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