locate (was: Re: [OS X TeX] Two questions (documentation-related))

Enrico Franconi franconi at cs.man.ac.uk
Sun Mar 31 05:57:23 EST 2002

On March 31, Martin Stokhof writes:
> The phenomenon (Locate not being able to find files after MacJanitor
> having updated the database) persists, but by checking various kinds
> of files (I know, I should have done that before ;-) I've found that
> it holds only for files in my home directory, everything else can be
> found by Locate after MacJanitor is run. 

Is your home in a different volume/partition? If this is the case, you
have to specify explicitly more than one root to search from. See
man locate.updatedb

> This suggests that the update MacJanitor invokes ignores files in
> the home directory.  I had a look at /usr/libexec/locate.updatedb,
> and it has: set SRCHPATHS = "/" , which I guess means that all
> directories are searched. (I have no expereince with shell scripts.)

Only if in the same volume, usually.

> I'm not quite sure what locate.updatedb.8 is all about, but it does
> seems to refer to the /usr/libexec/locate.updatedb script.

It is the manual.

-- e.

Enrico Franconi                     - franconi at cs.man.ac.uk
University of Manchester            - http://www.cs.man.ac.uk/~franconi/
Department of Computer Science      - Phone: +44 (161) 275 6170
Manchester M13 9PL, UK              - Fax:   +44 (161) 275 6204

To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.

More information about the MacOSX-TeX mailing list