MANDB
åå
æ¸å¼
説æ
ãã¼ã¿ãã¼ã¹ãã£ãã·ã¥
ãªãã·ã§ã³
çµäºã¹ãã¼ã¿ã¹
診æ
ãã¡ã¤ã«
é¢é£é ç®
èè
ãã°
åå
mandb − ããã¥ã¢ã«ãã¼ã¸ã®ã¤ã³ããã¯ã¹ãã£ãã·ã¥ãä½æãæ´æ°ãã
æ¸å¼
mandb [−dqsucpt?V] [−C file] [manpath]
mandb [−dqsut] [−C file] −f filename …
説æ
mandb is used to initialise or manually update index database caches. 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.
ãã¼ã¿ãã¼ã¹ãã£ãã·ã¥
mandb ã¯æ¬¡ã®ãã¡ä¸ã¤ã®ãã¼ã¿ãã¼ã¹ã¿ã¤ãããµãã¼ãããããã«ã³ã³ãã¤ã«ããã¾ãã
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 occurred, it may be necessary to rerun mandb with the −c option to re−create the databases from scratch.
ãªãã·ã§ã³
−d, −−debug
ãããã°æå ±ã表示ãã¾ãã
−q, −−quiet
è¦åã表示ãã¾ããã
−s, −−no-straycats
Do not spend time looking for or adding information to the databases regarding stray cats.
−p, −−no-purge
åé¤ãããããã¥ã¢ã«ãã¼ã¸ã®æ¤ç´¢ã¨ãããã«ä¼´ããã¼ã¿ãã¼ã¹ã®ãã¼ã¿åé¤ãè¡ãã¾ããã
−c, −−create
ããã©ã«ãã§ã¯ã mandb ã¾ä½ææ¸ã¿ã®ãã¼ã¿ãã¼ã¹ãæ´æ°ãã¾ãããã¼ã¿ãã¼ã¹ãå- å¨ããªãå ´åããã¼ã¿ãã¼ã¹ã使ãã¾ãããã®ãªãã·ã§ã³ã使ç¨ããå ´åã mandb ã¯ããã¾ã§ã«ä½æããããã¼ã¿ãã¼ã¹ãåé¤ããæ°è¦ã«ãã¼ã¿ãã¼ã¹ã使ãã¾ããã¾ããæé»çã« −−no−purge ãæå®ããã¾ããããã®ä½æ¥- ã¯ããã¼ã¿ãã¼ã¹ãç ´æããããæ°æ©è½ã«ãããã¼ã¿ãã¼ã¹ã®ã¹ã- ã¼ãã夿´ãããå ´åã«å¿è¦ã¨ãªãã¾ãã
−u, −−user-db
ã¦ã¼ã¶ã¼ç¨ãã¼ã¿ãã¼ã¹ã®ä½æã®ã¿è¡ãã¾ããã·ã¹ãã ç¨ãã¼ã¿ãã¼ã¹ã®ä½ææ¨©éããã£ãã¨ãã¦ããã·ã¹ãã ç¨ãã¼ã¿ãã¼ã¹ã®ä½æã¯è¡ãã¾ããã
−t, −−test
æ¤ç´¢ãã¹åã®é層ã«ããããã¥ã¢ã«ãã¼ã¸ã¨ãã¼ã¿ãã¼ã¹æå ±ãæ- £ç¢ºã«åã£ã¦ãããã®ç¢ºèªããã¾ãããã®ãªãã·ã§ã³ã使ç¨ããå ´åã mandb ã¯æ¢åã®ãã¼ã¿ãã¼ã¹ã®å¤æ´ã¯è¡ãã¾ããã
−f, −−filename
æå®ãããã¡ã¤ã«åã«é¢ãããã¼ã¿ãã¼ã¹ã®é ç®ã®ã¿æ´æ°ãã¾ãããã®ãªãã·ã§ã³ã¯ä¸è¬çã«ã¯ä½¿ç¨ãã¾ããã MAN_DB_UPDATES ãªãã·ã§ã³ãæå¹ã«ãã¦ã³ã³ãã¤ã«ããå ´åããã¼ã¸ãå¤ããã©ããã確èªããããã«ã man ã®åé¨ã§ä½¿ç¨ããã¾ãããã®ãªãã·ã§ã³ã¯ãæé»çã«ã −p ãæå¹ã«ãã −c ããã³ −s ãç¡å¹ã«ãã¾ãã
−C file, −−config−file=file
ããã©ã«ãã® ~/.manpath ã§ã¯ãªãæå®ããã¦ã¼ã¶è¨å®ãã¡ã¤ã«ã使ç¨ãã¾ãã
−?, −−help
ä½¿ç¨æ³ã表示ãã¦çµäºãã¾ãã
−−usage
Print a short usage message and exit.
−V, −−version
ãã¼ã¸ã§ã³æå ±ã表示ãã¦çµäºãã¾ãã
çµäºã¹ãã¼ã¿ã¹
0 |
ããã°ã©ã ãæ£å¸¸ã«å®è¡ããã¾ããã |
|||
1 |
ä½¿ç¨æ³ãæ§æãã¾ãã¯è¨å®ãã¡ã¤ã«ã®ã¨ã©ã¼ã§ãã |
|||
2 |
æä½ã®ã¨ã©ã¼ã§ãã |
|||
3 |
åããã»ã¹ãç°å¸¸çµäºãã¾ããã |
診æ
ãã¼ã¿ãã¼ã¹ãæ§ç¯ä¸ã«æ¬¡ã®è¦åã¡ãã»ã¼ã¸ã表示ããããã¨ãããã¾ãã
An attempt to extract whatis line(s) from the given
<ãã¡ã¤ã«å> ã¯ã·ã³ããªãã¯ãªã³ã¯ãåãã¦ãã¾ã
<ãã¡ã¤ã«å>ãåç§ãã¦ããã·ã³ããªãã¯ãªã³ã¯ã®åãå- å¨ãã¾ãããé常ã<ãã¡ã¤ã«å>ã®åç§ãã¦ãããªã³ã¯åãç¹å®ããããã®è¿½å ã®è¨ºæ- ã¡ãã»ã¼ã¸ã表示ããã¾ãã
<ãã¡ã¤ã«å>: ï¼ ã·ã³ããªãã¯ãªã³ã¯ã¾ã㯠ROFF ã® ‘.so’ è¦æ±ã«èª¤ããããã¾ã
ã·ã³ããªãã¯ãªã³ã¯ã®åç§åã¾ã㯠ROFF ã®ã¤ã³ã¯ã«ã¼ã (.so) è¦æ±ã«å«ã¾ãã<ãã¡ã¤ã«å>ãåå¨ãã¾ããã
<ãã¡ã¤ã«å>: ããããªãã¡ã¤ã«åãç¡è¦ãã¦ãã¾ã
<ãã¡ã¤ã«å>ãæã¤ããã¥ã¢ã«ãã¼ã¸ãæå¹ã§ãããç¡å¹ã§ãããã«ããããããååãç¡å¹ã§ããããã¯é常ãããã¥ã¢ã«ãã¼ã¸ãã»ã¯ã·ã§ã³æ¡å¼µå
The wildcard
ãã¡ã¤ã«
/etc/man_db.conf
man−db è¨å®ãã¡ã¤ã«ã§ãã
/var/cache/man/index.(bt|db|dir|pag)
FHS æºæ ã®å¤§åã¤ã³ããã¯ã¹åãã¼ã¿ãã¼ã¹ãã£ãã·ã¥ã§ãã
éå»ã«ä½¿ç¨ããã¦ãããã¼ã¿ãã¼ã¹ãã£ãã·ã¥ã®ä½ç½®:
/usr/man/index.(bt|db|dir|pag)
ä¼çµ±çãªå¤§åã¤ã³ããã¯ã¹åãã¼ã¿ãã¼ã¹ãã£ãã·ã¥ã§ãã
/var/catman/index.(bt|db|dir|pag)
代æ¿ã¾ã㯠FSSTND æºæ ã®å¤§åã¤ã³ããã¯ã¹åãã¼ã¿ãã¼ã¹ãã£ãã·ã¥ã§ãã
é¢é£é ç®
lexgrog(1), man(1), manpath(5), catman(8)
ãã®ããã¥ã¢ã«ãã¼ã¸ã«ãã£ãå¦çããããã¼ã¿ç¯ã¯ lexgrog(1) ãã¼ã¸ã«ç§»åãã¾ããã
èè
Wilf. (G.Wilford@ee.surrey.ac.uk).
Fabrizio Polacco (fpolacco@debian.org).
Colin Watson (cjwatson@debian.org).
ãã°
https://savannah.nongnu.org/bugs/?group=man-db