SHA256
1
0
forked from pool/findutils
findutils/findutils-4.5.10-updatedb_ignore_nfsv4.patch

12 lines
528 B
Diff

--- locate/updatedb.sh.orig 2012-01-16 19:06:44.632122416 -0500
+++ locate/updatedb.sh 2012-01-16 19:07:19.338688523 -0500
@@ -228,7 +228,7 @@
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 nfs4 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' \