DragonFly BSD
DragonFly bugs List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: locate.updatedb breaks on inaccessible smbfs mounts


From: Sascha Wildner <saw@xxxxxxxxx>
Date: Sat, 12 Mar 2005 23:59:46 +0100

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]