What kind of database does updatedb update and locate use?

What kind of database does updatedb update and locate use?

The locate program of findutils scans one or more databases of filenames and displays any matches. This can be used as a very fast find command if the file was present during the last file name database update. So what kind of database does updatedb update and locate use?

Is it possible to completely disable updatedb in Linux?

To completely disable updatedb could create ill-logic in reference to memory-allocation and ‘the roll back effect’.. If you have ever had a roll back when you didnt want it, you know what I mean when two hours worth of command line scripting is Fubar-ed because you didn’t allocate your your job processing into memory.

Is there a way to disable updatedb on ZFS?

*NOTE: The drive is read only on all systems but a zfs c-shell login system. To completely disable updatedb could create ill-logic in reference to memory-allocation and ‘the roll back effect’..

How to find ARGs in a specific directory?

This list is passed to locate as many individual commandline args. locate then tests each of these args against each of the files in its database, and outputs matches. Take note however, that ‘locate’ has no concept of the current working directory. It only matches your args against the fully-qualified file-names in its database.

Which is an example of locate / updatedb implementation?

Implementations of locate / updatedb typically use specific databases tailored to their requirements, rather than a generic database engine. You’ll find those specific databases documented by each implementation; for example:

Is there a command line version of updatedb?

There are two popular implementations of updatedb. One of them is from GNU findutils. Another is mlocate. They support different command line options and configuration files, especially for the updatedb program. It appears that the updatedb command on your system is the one from mlocate but the man page is the one from findutils.