SHA256
1
0
forked from pool/findutils

Accepting request 173003 from Base:System

Make updatedb skip /var/run/media

OBS-URL: https://build.opensuse.org/request/show/173003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/findutils?expand=0&rev=43
This commit is contained in:
Stephan Kulow 2013-04-24 08:20:29 +00:00 committed by Git OBS Bridge
commit 4bc22ea537
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

View File

@ -1,5 +1,8 @@
## Path: Applications/Locate
## Description: Configuration of updatedb
#
# NOTE: These variables only apply when updatedb is run via cron
#
## Type: yesno
## Default: yes
#
@ -35,7 +38,7 @@ UPDATEDB_NETPATHS=""
# uptdatedb can skip directories for its database. The following parameter
# 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)
## Default: ""