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

14 lines
626 B
Diff
Raw Normal View History

Index: locate/updatedb.sh
===================================================================
--- locate/updatedb.sh.orig 2010-08-23 12:27:24.000000000 +0200
+++ locate/updatedb.sh 2010-08-23 12:29:20.495699371 +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 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'`