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:
commit
4bc22ea537
@ -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
|
||||||
|
|
||||||
|
@ -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: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user