home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / findutils-4.1-bin.lha / man / cat1 / updatedb.1 < prev    next >
Text File  |  1996-10-12  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4. UPDATEDB(1L)                                         UPDATEDB(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        updatedb - update a file name database
  9.  
  10. SSYYNNOOPPSSIISS
  11.        uuppddaatteeddbb [[_o_p_t_i_o_n_s]]
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        This  manual  page  documents the GNU version of uuppddaatteeddbb,
  15.        which updates file name databases used by GNU llooccaattee.  The
  16.        file  name  databases  contain lists of files that were in
  17.        particular directory trees when the  databases  were  last
  18.        updated.   The file name of the default database is deter-
  19.        mined  when  llooccaattee  and  uuppddaatteeddbb  are   configured   and
  20.        installed.   The  frequency  with  which the databases are
  21.        updated and the directories for which they contain entries
  22.        depend  on how often uuppddaatteeddbb is run, and with which argu-
  23.        ments.
  24.  
  25.        In networked environments, it often makes sense to build a
  26.        database  at  the  root of each filesystem, containing the
  27.        entries for that filesystem.  uuppddaatteeddbb  is  then  run  for
  28.        each filesystem on the fileserver where that filesystem is
  29.        on a local disk, to prevent thrashing the network.   Users
  30.        can  select which databases llooccaattee searches using an envi-
  31.        ronment variable or command line option;  see  llooccaattee(1L).
  32.        Databases can not be concatenated together.
  33.  
  34.        The  file  name  database format changed starting with GNU
  35.        ffiinndd and llooccaattee version 4.0 to allow machines with diffent
  36.        byte orderings to share the databases.  The new GNU llooccaattee
  37.        can read both the old and new database formats.   However,
  38.        old  versions of llooccaattee and ffiinndd produce incorrect results
  39.        if given a new-format database.
  40.  
  41. OOPPTTIIOONNSS
  42.        ----llooccaallppaatthhss==''_p_a_t_h_1 _p_a_t_h_2_._._.''
  43.               Non-network directories to  put  in  the  database.
  44.               Default is /.
  45.  
  46.        ----nneettppaatthhss==''_p_a_t_h_1 _p_a_t_h_2_._._.''
  47.               Network (NFS, AFS, RFS, etc.) directories to put in
  48.               the database.  Default is none.
  49.  
  50.        ----pprruunneeppaatthhss==''_p_a_t_h_1 _p_a_t_h_2_._._.''
  51.               Directories to not put in the database, which would
  52.               otherwise  be.   Default  is /tmp /usr/tmp /var/tmp
  53.               /afs.
  54.  
  55.        ----oouuttppuutt==_d_b_f_i_l_e
  56.               The database file to  build.   Default  is  system-
  57.               dependent, but typically /usr/local/var/locatedb.
  58.  
  59.        ----nneettuusseerr==_u_s_e_r
  60.               The  user  to  search network directories as, using
  61.  
  62.  
  63.  
  64.                                                                 1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. UPDATEDB(1L)                                         UPDATEDB(1L)
  71.  
  72.  
  73.               ssuu(1).  Default is ddaaeemmoonn.
  74.  
  75.        ----oolldd--ffoorrmmaatt
  76.               Create the database in the old  format  instead  of
  77.               the new one.
  78.  
  79.        ----vveerrssiioonn
  80.               Print the version number of uuppddaatteeddbb and exit.
  81.  
  82.        _-_-_h_e_l_p Print  a  summary  of  the  options to uuppddaatteeddbb and
  83.               exit.
  84.  
  85. SSEEEE AALLSSOO
  86.        ffiinndd(1L),  llooccaattee(1L),  llooccaatteeddbb(5L),  xxaarrggss(1L)   FFiinnddiinngg
  87.        FFiilleess (on-line in Info, or printed)
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.                                                                 2
  131.  
  132.  
  133.