Just thinking, you could also add a modification time to the find, (if your 
doing xrefs), and only
Reindex those files that have been changed (or created) since the last time you 
ran it?  If you
Use the device and inode as key in your xref, it will overwrite any deleted 
files where the inode
Is re-used.

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: Friday, March 16, 2012 5:23 PM
To: U2 Users List
Subject: Re: [U2] Turn a device and inode into file name

I did a couple tests using:

find (device) -xdev -inode # -print

And it wasn't too much of a delay (instant to few seconds)

George


Other than that I just ran the following (for xref method)

cd /data2 ; find . -depth -ls | awk '{print $1,$11}'  > /tmp/inodelist   and it 
ran fairly fast, so if you were to 
   create a xref, cron could probably run that every 30 mins without taking up 
too much processing time.          

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to