Public bug reported: I guess /media refers to all the mounted media; pendrives etc. But since they're now mounted to /run/media/$USER, updatedb will scan them too. The modified updatedb.conf in the bugreport is the original version I hope, though I modified it before (that was when I encountered the bug).
ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: mlocate 0.23.1-1ubuntu2 ProcVersionSignature: Ubuntu 3.4.0-3.8-generic 3.4.0 Uname: Linux 3.4.0-3-generic i686 ApportVersion: 2.4-0ubuntu5 Architecture: i386 Date: Fri Jul 27 01:28:49 2012 InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120530) ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=hu_HU.UTF-8 SHELL=/bin/bash SourcePackage: mlocate UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.updatedb.conf: mPRUNE_BIND_MOUNTS="yes" # PRUNENAMES=".git .bzr .hg .svn" PRUNEPATHS="/tmp /var/spool /media /home/.ecryptfs" PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf fuse.glusterfs fuse.sshfs curlftpfs ecryptfs fusesmb devtmpfs" mtime.conffile..etc.updatedb.conf: 2012-07-27T01:28:44.595460 ** Affects: mlocate (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 quantal running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029697 Title: In Quantal, PRUNEPATHS in /etc/updatedb.conf include "/media" instead of "/run/media" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1029697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs