3
0
forked from pool/findutils
findutils/findutils-4.5.10-prune_unknown.patch

14 lines
614 B
Diff
Raw Normal View History

Index: locate/updatedb.sh
===================================================================
--- locate/updatedb.sh.orig 2012-02-13 14:29:16.754208481 +0100
+++ locate/updatedb.sh 2012-02-13 14:29:43.317560656 +0100
@@ -228,7 +228,7 @@ done
PATH=/bin:/usr/bin:${BINDIR}; export PATH
-: ${PRUNEFS="nfs NFS proc afs smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs cifs 9P"}
+: ${PRUNEFS="nfs NFS proc afs smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs cifs 9P unknown"}
if test -n "$PRUNEFS"; then
prunefs_exp=`echo $PRUNEFS |sed -e 's/\([^ ][^ ]*\)/-o -fstype \1/g' \