makewhatis / updatedb

Rick Stevens rstevens at vitalstream.com
Thu Jul 1 00:42:00 UTC 2004


karlp at ourldsfamily.com wrote:
> [repenting for top-posting]
> 
>>Evil Top-poster here:
>>
>>Solution for updatedb running forever:
>>
>>updatedb -f "types" was basically ignored, so I added /mnt to my -e
>>switch. The whole thing took about 5 minutes after fixing that running
>>manually.
> 
> 
> I found that updatedb -f "nfs,NFS" was ignored, too. So adding "/mnt,..."
> to -e was necessary for it to work quickly and correctly.

Hmmm.  Looking at the man page (note the marked stuff):

	-f fstypes <<--
		Exclude file systems in the comma-separated list
		dirs (<<--) from  the slocate database.

So, they talk about "fstypes" in the option description, but "dirs" in
the text (and "dirs" in the description of "-e").  So it appears that
"-f" is ignored or treated like "-e".  In a word, WTF??

>>Thanks Bob, and Rick, even though . . . well, you know.

Yeah, I do.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-           Give me ambiguity or give me something else!             -
----------------------------------------------------------------------





More information about the Redhat-install-list mailing list