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

14 lines
628 B
Diff
Raw Normal View History

Index: locate/updatedb.sh
===================================================================
--- locate/updatedb.sh.orig 2012-02-13 14:30:01.105126826 +0100
+++ locate/updatedb.sh 2012-02-13 14:30:17.708721842 +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 unknown"}
+: ${PRUNEFS="nfs nfsv4 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' \