AnswerBun.com

How to exclude directory with mandb?

Ask Ubuntu Asked by Goose on December 19, 2020

I mounted a relatively slow 9p drive at /mnt/p which is relatively slow (2-4 MiB/s). I run mandb and find that it will access /mnt/p and freeze there:

Processing manual pages under /mnt/p/wr/msys2/mingw64/share/man...
Updating index cache for path `/mnt/p/wr/msys2/mingw64/share/man/man1'. Wait...mandb: warning: /mnt/p/wr/msys2/mingw64/share/man/man1/fsf-funding.7.gz: ignoring bogus filename
mandb: warning: /mnt/p/wr/msys2/mingw64/share/man/man1/gfdl.7.gz: ignoring bogus filename
mandb: warning: /mnt/p/wr/msys2/mingw64/share/man/man1/gpl.7.gz: ignoring bogus filename
Updating index cache for path `/mnt/p/wr/msys2/mingw64/share/man/man3'. Wait...^C

I want to exclude /mnt directory for mandb but I can’t find any information about how to achieve this in mandb’s manpage and google.

Add your own answers!

Related Questions

Firewall won’t work on Ubuntu

1  Asked on December 29, 2021 by jack94

   

Upgrade from 18.04 to 20.04 but retain specific kernel (4.9)

0  Asked on December 29, 2021 by walter-zambotti

       

Installing system on file?

0  Asked on December 29, 2021 by ctm-8400

     

Why is my browser leaving out so much space in both sides?

8  Asked on December 29, 2021 by moshrekul-islam

     

Log files fill up too fast

0  Asked on December 29, 2021 by hardik-katehara

       

Can’t see Wi-Fi settings in Ubuntu 20.04 LTS

2  Asked on December 27, 2021 by nova1323

         

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP