# $Id: TODO,v 1.9 2010/03/12 16:50:22 ksb Exp $ + add birth time for systems that have it + fix the 64bit seek issue across Solaris and others + check for unsigned/signed bug in 64bit solaris + fix the locking issue better: move to a fixed length record for each inode (no spaces): Version Pid Time Lines Inode Device \n V03 P0ab17f T4353acd3 L00000555 I0001eaac D00004a00 Add a table for the (-S) symbolic name (fixed length, full path) Nlseek:char[1024] Implement better locking: lock the index (wait for it) find the symbolic entry locate an inode entry from the symbolic, lock it under -S if the previous inode record is not the current symbolic result over-write the inode record (if not "in process") unlock the index if the inode is "in process" check the pid { unlock the inode record while wait a while { break if process exited } lock the inode record pid still the same? zero it unlock the inode record then goto "lock the index" } mark the inode found as "in process" (with our pid) keep the inode lseek, unlock the inode try to re-lock the inode update the inode record -- if we are still the pid (if the inode record is beyond the current EOF forget it) unlock the inode record + -R should take a suffix on the count (see wc's options) -R 4n replay 4 lines (the default) -R 50c replay 50 characters -R 2b replay 2 (512 byte) blocks + -R doesn't work for directories (document at least). We could sort the list (of included) entries for a replay -- too much I think (suggest using datecut). + add a symbolic name tag (-N name) Nothing below this line is sane. ~ Provide a way to remove all the entries for files that do not exist: that's hard as we can only see the ones we can ftw to. I really don't want to ftw (file tree walk) the whole machine (NFS too?) to find all the files. I think you just rm the .since file and enjoy some duplicate data. More to the point: build a .since file for each application, don't use the default and remove it when you know it is safe to do so. -- ksb, Oct 2005 "I walk a path you cannot follow: nor can I follow yours. But these paths shall end the same place, I'll find you there." -- on the way to a rest-stop bathroom with my Daughter, pointing at a drinking fountain