Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
HP & Linux

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 81 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

mandb



SYNOPSIS

       mandb [-dqsuc|-h|-V] [manpath]


DESCRIPTION

       mandb  is  used  to  initialise  or  manually update index
       database caches that are usually maintained by  man.   The
       caches  contain  information relevant to the current state
       of the manual  page  system  and  the  information  stored
       within  them  is  used  by the man-db utilities to enhance
       their speed and functionality.

       When creating or updating an index, mandb will warn of bad
       ROFF  .so requests, bogus manual page filenames and manual
       pages from which the whatis cannot be parsed.

       Supplying mandb with an optional colon-delimited path will
       override  the internal system manual page hierarchy search
       path, determined from information found within the  man-db
       configuration file.


DATABASE CACHES

       mandb can be compiled with support for any one of the fol­
       lowing database types.

       Name                Type          Async   Filename
       ----------------------------------------------------------
       Berkeley db         Binary tree   Yes     index.bt
       GNU gdbm v >= 1.6   Hashed        Yes     index.db
       GNU gdbm v <  1.6   Hashed        No      index.db
       UNIX ndbm           Hashed        No      index.(dir|pag)

       Those database types  that  support  asynchronous  updates
       provide  enhanced speed at the cost of possible corruption
       in the event of unusual termination.  In an  unusual  case
       where this has occured, it may be necessary to rerun mandb
       with  the  -c  option  to  re-create  the  databases  from
       scratch.


OPTIONS

       -d, --debug
              Produce debugging information.

       -q, --quiet
              Produce no warnings.

       -s, --no-straycats
              Do not spend time looking for or adding information
              to the databases regarding stray cats.

       -p, --no-purge
              Do not spend time checking for deleted manual pages
              and purging them from the databases.

       -t, --test
              Perform  correctness  checks on manual pages in the
              hierarchy search path.   With  this  option,  mandb
              will not alter existing databases.

       -h, --help
              Show the usage message, then exit.

       -V, --version
              Show the version, then exit.


EXIT STATUS

       0      Successful program execution.

       1      Usage, syntax, or configuration file error.

       2      Operational error.

       3      A child process failed.


DIAGNOSTICS

       The  following  warning  messages  can  be  emitted during
       database building.

       <filename>: whatis parse for page(sec) failed
              An attempt to extract whatis line(s) from the given
              <filename> failed.  This is usually due to a poorly
              written manual page, but if many such messages  are
              emitted  it is likely that the system contains non-
              standard manual pages which are  incompatible  with
              the  man-db  whatis parser.  See the WHATIS PARSING
              section in lexgrog(1) for more information.

       <filename>: is a dangling symlink
              <filename> does not exist but is  referenced  by  a
              symbolic  link.   Further  diagnostics  are usually
              emitted to identify the <filename> of the offending
              link.

       <filename>: bad symlink or ROFF `.so' request
              <filename>  is  either  a symbolic link to, or con­
              tains a ROFF include request  to,  a  non  existent
              file.

       <filename>: ignoring bogus filename
              The  <filename>  may  or  may not be a valid manual
              page but its name is invalid.  This is usually  due
              to a manual page with sectional extension <x> being
              put in manual page section <y>.

       <filename_mask>: competing extensions
              database cache.

       /var/cache/man/index.(bt|db|dir|pag)
              An FHS compliant global index database cache.


SEE ALSO

       man(1), lexgrog(1), manpath(5), catman(8).

       The WHATIS PARSING section formerly in this manual page is
       now part of lexgrog(1).


AUTHOR

       Wilf. (G.Wilford@ee.surrey.ac.uk).
       Fabrizio Polacco (fpolacco@debian.org).
       Colin Watson (cjwatson@debian.org).

2.4.1                   07 September 2001                mandb(8)
  
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds