Description of problem: It would be nice if slocate would exclude sysfs, usbdevfs filesystems by default. I guess adding them to /etc/cron.daily/slocate.cron is enough since /etc/updatedb.conf doesn't seem to be in use. New directories to exclude would be /sys and /udev I think. Version-Release number of selected component (if applicable): 2.6.0-10 Thanks :)
Triage->Easyfix
Trivial diff to slocate.cron below: --- slocate.cron.old 2004-02-18 19:45:51.121171896 +0200 +++ slocate.cron 2004-02-18 19:46:35.282831132 +0200 @@ -1,3 +1,3 @@ #!/bin/sh renice +19 -p $$ >/dev/null 2>&1 -/usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e "/tmp,/var/tmp,/usr/tmp,/afs,/net" +/usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts,sysfs,usbdevfs" -e "/tmp,/var/tmp,/usr/tmp,/afs,/net,/udev"
I guess this one could be considered as nice to have for FC2 and linked to bug #114963? Thanks.
fixed in slocate-2.7-9