lenny  ] [  squeeze  ] [  sid  ]
[ Källkod: mlocate  ]

Paket: mlocate (0.21.1-1)

quickly find files on the filesystem based on their name

mlocate is a new implementation of locate, a tool to find files anywhere in the filesystem based on their name, using a fixed pattern or a regular expression. Unlike other tools like find(1), locate uses a previously created database to perform the search, allowing queries to execute much faster. This database is updated periodically from cron.

Several implementations of locate exist: the original implementation from GNU's findutils, slocate, and mlocate. The advantages of mlocate are:

 * it indexes all the filesystem, but results of a search will only
   include files that the user running locate has access to. It does
   this by updating the database as root, but making it unreadable for
   normal users, who can only access it via the locate binary. slocate
   does this as well, but not the original locate.

 * instead of re-reading all the contents of all directories each time
   the database is updated, mlocate keeps timestamp information in its
   database and can know if the contents of a directory changed without
   reading them again. This makes updates much faster and less demanding
   on the hard drive. This feature is only found in mlocate.

Installing mlocate will change the /usr/bin/locate binary to point to mlocate via the alternatives mechanism. After installation, you may wish to run /etc/cron.daily/mlocate by hand to create the database, otherwise mlocate won't work until that script is run from cron itself (since mlocate does not use the same database file as standard locate). Also, you may wish to remove the "locate" package in order not to have two different database files updated regularly on your system.

Märken: User Interface: Command Line, Role: Program, Purpose: Searching

Andra paket besläktade med mlocate

  • beror
  • rekommenderar
  • föreslår
  • dep: adduser
    lägg till och ta bort användare och grupper
  • dep: libc6 (>= 2.7-1) [ej alpha, ia64]
    GNU C-bibliotek: Delade bibliotek
    också ett virtuellt paket som tillhandahålls av libc6-udeb
  • dep: libc6.1 (>= 2.7-1) [alpha, ia64]
    GNU C-bibliotek: Delade bibliotek
    också ett virtuellt paket som tillhandahålls av libc6.1-udeb

Hämta mlocate

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
alpha 82,5 kbyte460 kbyte [filförteckning]
amd64 77,9 kbyte440 kbyte [filförteckning]
arm 72,4 kbyte428 kbyte [filförteckning]
armel 70,8 kbyte428 kbyte [filförteckning]
hppa 75,1 kbyte436 kbyte [filförteckning]
i386 71,7 kbyte432 kbyte [filförteckning]
ia64 93,5 kbyte516 kbyte [filförteckning]
mips 77,2 kbyte444 kbyte [filförteckning]
mipsel 77,6 kbyte444 kbyte [filförteckning]
powerpc 78,4 kbyte440 kbyte [filförteckning]
s390 77,9 kbyte436 kbyte [filförteckning]
sparc 73,9 kbyte432 kbyte [filförteckning]