Apocrypha

plocate

Posting locate is a much faster locate

plocate works by creating an inverted index over trigrams (combinations of three bytes) in the search strings, which allows it to rapidly narrow down the set of candidates to a very small list, instead of linearly scanning through every entry. It does nearly all I/O asynchronously using io_uring if available (Linux 5.1+), which reduces the impact of seek latency on systems without SSDs. Like mlocate and slocate, the returned file set is user-dependent, ie. a user will only see a file if find(1) would list it (all directories from the root have +rx permissions).

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 1.1.24 2 16 h details ›

Versions & arches

VersionOverlay amd64arm64x86arm Committed
1.1.24 gentoo amd64 stable arm64 stable x86 testing arm testing view · download · history ↗
1.1.23 gentoo amd64 stable arm64 stable x86 testing arm testing view · download · history ↗

Use flags of 1.1.24

  • +io-uring Enable the use of io_uring for efficient asynchronous IO and system requests
  • selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur

Runtime dependencies of 1.1.24

show 9 lines