From: Dirk M. <di...@fr...> - 2006-04-26 08:41:15
|
Jason Tackaberry wrote: > When crawling directories, beacon stats all files in a directory. If > the directory has already been indexed, technically it only needs to > stat the directory and not all the regular files underneath it. It only > needs to stat all the regular files if the mtime on the dir has changed. No | phex-> ll tmpfoo -d | drwxr-xr-x 2 dmeyer users 4096 14. Apr 15:27 tmpfoo | phex-> ll tmpfoo/foo.txt | -rw-r--r-- 1 dmeyer users 0 14. Apr 15:27 tmpfoo/foo.txt We now change a file inside the dir (e.g. change an fxd or a download continues) | phex-> touch tmpfoo/foo.txt Now the file is changed... | phex-> ll tmpfoo/foo.txt | -rw-r--r-- 1 dmeyer users 0 26. Apr 10:39 tmpfoo/foo.txt ... the dir is not | phex-> ll tmpfoo -d | drwxr-xr-x 2 dmeyer users 4096 14. Apr 15:27 tmpfoo Dischi -- "Writing in C or C++ is like running a chain saw with all the safety guards removed." -Bob Gray |