|
Packit |
15a5a8 |
About
|
|
Packit |
15a5a8 |
=====
|
|
Packit |
15a5a8 |
mlocate is a locate/updatedb implementation. The 'm' stands for "merging":
|
|
Packit |
15a5a8 |
updatedb reuses the existing database to avoid rereading most of the file
|
|
Packit |
15a5a8 |
system, which makes updatedb faster and does not trash the system caches as
|
|
Packit |
15a5a8 |
much.
|
|
Packit |
15a5a8 |
|
|
Packit |
15a5a8 |
The locate(1) utility is intended to be completely compatible to slocate. It
|
|
Packit |
15a5a8 |
also attempts to be compatible to GNU locate, when it does not conflict with
|
|
Packit |
15a5a8 |
slocate compatibility.
|
|
Packit |
15a5a8 |
|
|
Packit |
15a5a8 |
New releases will be available at https://fedorahosted.org/mlocate/ .
|
|
Packit |
15a5a8 |
|
|
Packit |
15a5a8 |
Installation
|
|
Packit |
15a5a8 |
============
|
|
Packit |
15a5a8 |
Before installation it is necessary to create a group called "mlocate" to allow
|
|
Packit |
15a5a8 |
hiding the contents of the database from users.
|
|
Packit |
15a5a8 |
|
|
Packit |
15a5a8 |
When updatedb is run by root, the database contains names of files of all
|
|
Packit |
15a5a8 |
users, but only members of the "mlocate" group may access it. "locate" is
|
|
Packit |
15a5a8 |
installed set-GID "mlocate", no other program should need to run with this GID.
|
|
Packit |
15a5a8 |
|
|
Packit |
15a5a8 |
Portability
|
|
Packit |
15a5a8 |
===========
|
|
Packit |
15a5a8 |
mlocate should be portable to all SUSv3-compliant UNIXes, although it is
|
|
Packit |
15a5a8 |
currently tested only on recent Linux distributions.
|
|
Packit |
15a5a8 |
|
|
Packit |
15a5a8 |
Bugs
|
|
Packit |
15a5a8 |
====
|
|
Packit |
15a5a8 |
Please consider reporting the bug to your distribution's bug tracking system.
|
|
Packit |
15a5a8 |
|
|
Packit |
15a5a8 |
Otherwise, report bugs at https://fedorahosted.org/mlocate/ . Bug reports
|
|
Packit |
15a5a8 |
with patches are especially welcome.
|