MAN page from Old RedHat 5.X findutils-4.1-24.i386.rpm
UPDATEDB
Section: Misc. Reference Manual Pages (1L)
Index NAME
updatedb - update a file name database
SYNOPSIS
updatedb [options]
DESCRIPTION
This manual pagedocuments the GNU version of
updatedb,which updates file name databases used by GNU
locate.The file name databases contain lists of files that were inparticular directory trees when the databases were last updated.The file name of the default database is determined when
locateand
updatedb are configured and installed. The frequency withwhich the databases are updated and the directories for which theycontain entries depend on how often
updatedb is run, and withwhich arguments.In networked environments, it often makes sense to build a database atthe root of each filesystem, containing the entries for that filesystem.
updatedbis then run for each filesystem on the fileserver where thatfilesystem is on a local disk, to prevent thrashing the network.Users can select which databases
locate searches using anenvironment variable or command line option; see
locate(1L).Databases can not be concatenated together.The file name database format changed starting with GNU
findand
locateversion 4.0 to allow machines with diffent byte orderings to sharethe databases. The new GNU
locatecan read both the old and new database formats.However, old versions of
locateand
findproduce incorrect results if given a new-format database.
OPTIONS
- --localpaths='path1 path2...'
- Non-network directories to put in the database.Default is /.
- --netpaths='path1 path2...'
- Network (NFS, AFS, RFS, etc.) directories to put in the database.Default is none.
- --prunepaths='path1 path2...'
- Directories to not put in the database, which would otherwise be.Default is /tmp /usr/tmp /var/tmp /afs.
- --output=dbfile
- The database file to build.Default is system-dependent, but typically /usr/local/var/locatedb.
- --netuser=user
- The user to search network directories as, using su(1).Default is daemon.
- --old-format
- Create the database in the old format instead of the new one.
- --version
- Print the version number ofupdatedband exit.
- --help
- Print a summary of the options toupdatedband exit.
SEE ALSO
find(1L),
locate(1L),
locatedb(5L),
xargs(1L)
Finding Files (on-line in Info, or printed)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- SEE ALSO
This document was created byman2html,using the manual pages.