locate.updatedb breaks on inaccessible smbfs mounts

Rumko rumcic at gmail.com
Sat Mar 12 11:54:36 PST 2005

On 2005-03-12, YONETANI Tomokazu <qhwt+dfly at xxxxxxxxxx> wrote:
> 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.
but, why should I set that PRUNEPATHS if the default for FILESYSTEMS is ufs?
it shouldnt check /mnt/router, cause it isnt ufs!

More information about the Bugs mailing list