Commit Graph

17 Commits

Author SHA1 Message Date
Tomas Popela
2fbdf7fbe9 Fix the mlocate on ostree based systems
Don't prune bind mounts on ostree based systems, prune the deployments
folder there to avoid duplications.

Fixes: https://github.com/fedora-silverblue/issue-tracker/issues/76
2020-11-24 11:57:34 +00:00
Miroslav Suchý
6a8532a67a Add /var/lib/mock to PRUNEPATHS
/var/lib/mock contains copy of OS. It is inteded for building packages. It usually contains duplicates to what you are looking for.
E.g.

```
$ locate bash/FAQ
/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-24-x86_64-28570-30325/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-24-x86_64-28683-31985/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-24-x86_64-29477-7840/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-24-x86_64-32229-16460/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-25-x86_64/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-25-x86_64-18827-15085/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-25-x86_64-27938-29561/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-25-x86_64-bootstrap-27938-29561/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-26-i386-999/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-26-i386-bootstrap-999/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-26-x86_64/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-28-x86_64/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-29-x86_64/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-30-x86_64/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-31-x86_64/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-31-x86_64-bootstrap/root/usr/share/doc/bash/FAQ
/var/lib/mock/fedora-rawhide-x86_64/root/usr/share/doc/bash/FAQ
/var/lib/mock/rhelbeta-8-x86_64/root/usr/share/doc/bash/FAQ
```
2020-05-14 06:44:13 +00:00
Michal Sekletar
1002e22937 Don't index ceph mounts
Related: #1223582
2015-06-09 17:52:45 +02:00
Michal Sekletar
b535ab95f0 Prune path /var/lib/ceph
Resolves: #1217201
2015-05-26 10:11:45 +02:00
Michal Sekletar
015ef1e3c1 Add gpfs to PRUNEFS
Resolves: #1179644
2015-01-07 13:45:16 +01:00
Michal Sekletar
a9ccbac2ef Don't index dnf database
Reported-by: Pete Travis <me@petetravis.com>
Resolves: #1177877
2015-01-07 13:28:33 +01:00
Michal Sekletar
ffd8876077 Prune by default more VCS systems meta-data dirs
Resolves: #949320
2015-01-07 13:23:34 +01:00
Miloslav Trmač
3d4061efd1 Add /var/lib/yum/yumdb to PRUNEPATHS 2012-03-03 06:41:20 +01:00
Miloslav Trmač
56551a96de Add fuse.sshfs to PRUNEFS.
- Explicitly exclude fuse.sshfs.  Ideally we'd like to exclude all fuse.* file
  systems, sshfs is urgent because it it can hang updatedb.
  Resolves: #604145, #608094
2011-03-31 20:59:11 +02:00
Miloslav Trmač
d9b3e2af46 Exclude /mnt by default
* Fri Feb  4 2011 Miloslav Trmač <mitr@redhat.com> - 0.23.1-3
- Exclude /mnt by default
  Resolves: #674635
2011-02-04 18:22:34 +01:00
Miloslav Trmac
6dbeea71e3 - Add "lustre" to PRUNEFS
- Add all nodev filesystems from the Fedora kernel to PRUNEFS, to make
    (updatedb) work as some users expect
2010-01-15 16:40:50 +00:00
Miloslav Trmac
4fd714e6b8 - Add /var/cache/ccache to PRUNEPATHS. 2009-05-19 15:46:06 +00:00
Miloslav Trmac
eee1b3a512 - Add .git to PRUNENAMES Resolves: #473227
- Avoid a rpmlint warning
2008-11-28 11:37:24 +00:00
Miloslav Trmac
8fe69afbc0 - Update to mlocate-0.21
- Define PRUNENAMES to exclude .svn and .hg
2008-06-30 00:26:54 +00:00
Miloslav Trmac
9111b4f128 - Update to mlocate-0.16
- Enable PRUNE_BIND_MOUNTS by default Resolves: #221755
2007-03-06 01:58:28 +00:00
Miloslav Trmac
5e6c8ee3ab - Add gfs and gfs2 to PRUNEFS Resolves: #220491 2007-01-05 00:59:37 +00:00
Miloslav Trmac
15b6f6e611 auto-import mlocate-0.11-1 on branch devel from mlocate-0.11-1.src.rpm 2005-11-10 01:52:16 +00:00