summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaul <gaul@gaul.org>2021-02-22 20:12:29 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2021-02-23 14:36:43 +0100
commitcaa038677b48019c5905c6f48f8a13ce40e24c58 (patch)
tree01ea25b5ab5e7c68716dcb637e69ca510d1fb6c6
parentbb0c81f66b27da80fdd649e400fa3536fdb79db9 (diff)
downloadfindutils-caa038677b48019c5905c6f48f8a13ce40e24c58.tar.gz
updatedb: exclude s3fs filesystems by default
s3fs is a popular way to access S3-compatible object storage. Its users have reported many bugs being surprised that updatedb crawls these remote storage systems which causes poor performance: https://github.com/s3fs-fuse/s3fs-fuse/issues?q=is%3Aissue+updatedb * locate/updatedb.sh (PRUNEFS): Add 'fuse.s3fs'. Copyright-paperwork-exempt: Yes
-rw-r--r--NEWS5
-rw-r--r--locate/updatedb.sh1
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1ee7f329..86cab905 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,11 @@ GNU findutils NEWS - User visible changes. -*- outline -*- (allout)
* Noteworthy changes in release ?.? (????-??-??) [?]
+** Changes in locate / updatedb
+
+ update now skips (fuse-mounted) s3fs filesystems by default,
+ i.e., unless PRUNEFS is set.
+
** Documentation Changes
The find.1 man page and the Texinfo manual now show environment variables
diff --git a/locate/updatedb.sh b/locate/updatedb.sh
index 7d42e4bd..242f1865 100644
--- a/locate/updatedb.sh
+++ b/locate/updatedb.sh
@@ -263,6 +263,7 @@ coda
devfs
devpts
ftpfs
+fuse.s3fs
iso9660
mfs
ncpfs