Locate with exclude?

Vivek J. Patankar list307 at gmail.com
Mon Feb 19 03:12:59 UTC 2007


Tony Nelson wrote:
>> Won't work. The database for /locate/ is updated by a cron job that runs
>> as root. So it will index the entire filesystem, except for exclusions
>> set in updatedb.conf.
> 
> Does too work, as only the files that would be visible to the user running
> locate will be reported by locate.  See man updatedb, and try it.

Just RTFM'ed and tested too. I stand corrected. Thanks.

-- 
Regards
Vivek J. Patankar

Registered Linux User #374218
Fedora Core release 6 (Zod)
Linux 2.6.18-1.2798.fc6 x86_64




More information about the fedora-list mailing list