| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Submitted by: Bruce
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
faster IO due mmap(2) [-m | -s]
better error check for damaged databases
support for databases in network byte order (SunOS/sparc)
optional case insensitve search [-i]
optional multiple databases
optional multiple pattern
new enviroment variable LOCATE_PATH for database(s)
[-S] print some statistic about the database
[-l number] limit output to number file names
[-c] suppress normal output; instead print a count of matching file names
|
|
|
|
| |
Submitted by: Bruce, see also c-faq 5.6 and 5.9
|
|
|
|
| |
kill obsolete updatedb.csh, it's been rewritten in sh now.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bigram does not remove newline at end of filename. This
break particulary the bigram algorithm and /var/db/locate.database
grow up 15 %.
Bigram does not check for characters outside 32-127.
The bigram output is silly and need ~1/2 CPU time of
database rebuilding.
old:
locate.bigram < $filelist | sort | uniq -c | sort -nr
^^^^^^^^^^^^^^
this can easy made bigram
new:
bigram < $filelist | sort -nr
code
Code does not check for char 31.
Use a lookup array instead a function. 3 x faster.
updatedb
rewritten
sync with bigram changes
read config file /etc/locate.rc if exists
submitted by: guido@gvr.win.tue.nl (Guido van Rooij)
concatdb - concatenate locate databases
mklocatedb - build locate database
|
|
|
|
| |
special non-filesystems like procfs from being included.
|
| |
|
|
|
|
|
| |
and the fact that it is usually run by /etc/weekly.
Closes docs/127.
|
|
|
|
| |
Obtained from: Partially my work in 1.
|
|
|
|
| |
specified in the top level Makefiles.
|
| |
|
|
|
|
| |
names, locate dumps core instead
|
|
|
|
| |
Submitted by: jkh
|
|
|