SHA256
1
0
forked from pool/findutils

- Add /var/run/media to UPDATEDB_PRUNEPATHS in sysconfig.locate

so that updatedb doesn't index removable media (bnc#807170).

OBS-URL: https://build.opensuse.org/package/show/Base:System/findutils?expand=0&rev=44
This commit is contained in:
Philipp Thomas 2013-04-23 10:40:56 +00:00 committed by Git OBS Bridge
parent 3ecd19a1f8
commit b969beb7a2
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 23 12:24:12 CEST 2013 - pth@suse.de
- Add /var/run/media to UPDATEDB_PRUNEPATHS in sysconfig.locate
so that updatedb doesn't index removable media (bnc#807170).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 26 13:29:42 UTC 2013 - mmeister@suse.com Tue Mar 26 13:29:42 UTC 2013 - mmeister@suse.com

View File

@ -1,5 +1,8 @@
## Path: Applications/Locate ## Path: Applications/Locate
## Description: Configuration of updatedb ## Description: Configuration of updatedb
#
# NOTE: These variables only apply when updatedb is run via cron
#
## Type: yesno ## Type: yesno
## Default: yes ## Default: yes
# #
@ -35,7 +38,7 @@ UPDATEDB_NETPATHS=""
# uptdatedb can skip directories for its database. The following parameter # uptdatedb can skip directories for its database. The following parameter
# says which ones. # says which ones.
# #
UPDATEDB_PRUNEPATHS="/mnt /cdrom /tmp /usr/tmp /var/tmp /var/spool /proc /media /sys /.snapshot" UPDATEDB_PRUNEPATHS="/mnt /cdrom /tmp /usr/tmp /var/tmp /var/spool /proc /media /sys /.snapshot /var/run/media"
## Type: string("",nobody) ## Type: string("",nobody)
## Default: "" ## Default: ""