Got a small problem.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: Got a small problem.
On Tue, 16 Dec 2003, Michael Havens wrote:

>     knoppix@bmike1:~$ sudo updatedb


What version of updatedb?

Try: "updatedb --version"

>     /usr/bin/find: error in /etc/mtab: none: No such file or directory


Do you have an /etc/mtab file?

By default, updatedb doesn't include network filesystems in its locate
database.

updatedb usually uses find with the -fstype switch.

Also try running updatedb as a non-root user (because updatedb has
different functionality when root).

Maybe try with:

updatedb --localuser=nobody

Or:

su nobody -c updatedb

Jeremy C. Reed
http://bsd.reedmedia.net/