看板 DFBSD_bugs 關於我們 聯絡資訊
Bill Hacker wrote: > Not a bug. > > Regardless of UFS or {whatever} fs type, if *any* mount-point will contain > removable media or potentially unavailable networked resources. > (NFS, SMB, AFS, TVS, CD & DVD formats/ devices, etc.) > ..... it should be excluded from traversal. Hi, /usr/libexec/locate.updatedb already does exclude all fs types except ufs (see its ${FILESYSTEMS} variable) so there should be no need to add those smbfs shares' mount points to ${PRUNEPATHS} as well. Rumko's problem here is that even though find is invoked with '! \( -fstype ufs \) -prune' it will die anyway when a smbfs share is unavailable. This looks like a bug and is independent of locate.updatedb. Sascha -- http://yoyodyne.ath.cx