diff options
author | Andrew Gaul <gaul@gaul.org> | 2021-02-22 20:12:29 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-02-23 14:36:43 +0100 |
commit | caa038677b48019c5905c6f48f8a13ce40e24c58 (patch) | |
tree | 01ea25b5ab5e7c68716dcb637e69ca510d1fb6c6 | |
parent | bb0c81f66b27da80fdd649e400fa3536fdb79db9 (diff) | |
download | findutils-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-- | NEWS | 5 | ||||
-rw-r--r-- | locate/updatedb.sh | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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 |