看板 DFBSD_bugs 關於我們 聯絡資訊
On 2005-03-12, YONETANI Tomokazu <qhwt+dfly@les.ath.cx> wrote: > Hi. > On Sat, Mar 12, 2005 at 03:02:29PM +0000, Rumko wrote: >> On 2005-03-06, Rumko <rumcic@gmail.com> wrote: >> > On 2005-03-06, Rumko <rumcic@gmail.com> 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!