SHA256
1
0
forked from pool/findutils
findutils/findutils-prune_unknown.patch

14 lines
613 B
Diff
Raw Normal View History

Index: locate/updatedb.sh
===================================================================
--- locate/updatedb.sh.orig 2010-04-01 12:46:24.000000000 +0200
+++ locate/updatedb.sh 2010-04-01 12:47:09.919511262 +0200
@@ -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/\([^ ][^ ]*\)/-fstype \1 -o/g'`