locate.updatedb breaks on inaccessible smbfs mounts

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sat Mar 12 07:31:28 PST 2005


Hi.
On Sat, Mar 12, 2005 at 03:02:29PM +0000, Rumko wrote:
> On 2005-03-06, Rumko <rumcic at xxxxxxxxx> wrote:
> > On 2005-03-06, Rumko <rumcic at xxxxxxxxx> wrote:
> >> when a smbfs share is unavailable (the machine is turned off or the samba 
> > ...
> >> because of this the locate database only contains entries in / up to /mnt/router
> >> and doesnt for example have /usr in it.
> 
> so anybody checked this yet?

Isn't it what PRUNEPATHS (in /etc/locate.rc) for? You can add /mnt/router
in the PRUNEPATHS, if you don't care about files under /mnt/router to be
in locate DB.





More information about the Bugs mailing list