On 19/08/04 04:05 PM, Danny Sauer
It's probably worth noting that locate will find files *in the parts of the filesystem that are indexed*, which usually excludes a few parts like /home, some parts of /var, etc. When it works, locate is much faster. When it doesn't work, you need to know that it's not actually searching the *whole* system like "find /" as root will.
True, but thats because locate is querying a database not actually performing a search of the filesystem, prehaps if BFS were ever to be ported, or live indexing incorporated into reiser things would be easyer.
It's also worth noting that "find /var -iname rpm" will find anything in /var that's case-insensitvely named rpm (RPM, rPm, etc). File.rpm will not be found, nor will arpme.txt. :) "find /var -iname '*rpm*'" will.
Yes but the rpm cache tends to get pretty large and I was writing the above in a hurry :)
Do one thing, and do it well (and support STDIN/STDOUT, please)... :)
optimistic arnt we? :-)
--Danny, who should probably do some actual work this morning...
Ben, who looking at the core switch that is to be configured decides to keep checking his emails...