diff -ur -N -x find.info findutils-4.4.0.orig/doc/find.texi findutils-4.4.0/doc/find.texi --- findutils-4.4.0.orig/doc/find.texi 2008-03-10 21:31:16.000000000 +0100 +++ findutils-4.4.0/doc/find.texi 2008-03-25 12:42:20.000000000 +0100 @@ -3301,16 +3301,6 @@ another shell script that ``sources'' the configuration file into the environment and then executes @code{updatedb} in the environment. address@hidden creates and updates the database of file names used by address@hidden @code{updatedb} generates a list of files similar to -the output of @code{find} and then uses utilities for optimizing the -database for performance. @code{updatedb} is often run periodically -as a @code{cron} job and configured with environment variables or -command options. Typically, operating systems have a shell script -that ``exports'' configurations for variable definitions and uses -another shell script that ``sources'' the configuration file into the -environment and then executes @code{updatedb} in the environment. - @table @code @item --findoptions='@address@hidden' Global options to pass on to @code{find}. @@ -3375,6 +3365,19 @@ @code{slocate}. @xref{Database Formats}, for a detailed description of each format. address@hidden address@hidden +Generate a @code{locate} database @var{pathprefix/dbfile} for files in the +tree rooted at @var{pathprefix}, omitting this prefix from the stored file +names and causing @code{locate} to substitute the directory containing the +database file in its place. Assume an nfs server exporting address@hidden/serverpath} and a client mounting this tree as @var{/clientpath}. +Using a @code{locate} database with relative file names for this tree yields +the correct results on both server and client. This option is incompatible +with @code{--old-format} and @code{--netpaths}. Furthermore all paths +specified as @code{--localpaths} or @code{--prunepaths} must be relative and address@hidden must be given as basename or has the default value address@hidden + @item --help Print a summary of the command line usage and exit. @item --version