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. -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Friday, March 16, 2012 5:03 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Turn a device and inode into file name It seems like an "on the fly" scan across all possible filesystems would be really slow. I can't see how you can escape having a cross reference that gets rebuilt periodically. No one is going to want to wait a minute in interactive mode for a response. No one else has encountered the issue that you can't tell what file a lock is being set on? Some people can tell from the key I suppose, at time, but many files can share a similar key. It seems odd to me, that after twenty years, we still have this issue in Universe. -----Original Message----- From: George Gallen <ggal...@wyanokegroup.com> To: U2 Users List <u2-users@listserver.u2ug.org> Sent: Fri, Mar 16, 2012 1:46 pm Subject: Re: [U2] Turn a device and inode into file name As far as I understood, no, they are unique only to their device, so you could ave multiple files ith the same inode in different filesystems. ----Original Message----- rom: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] n Behalf Of Wjhonson ent: Friday, March 16, 2012 4:44 PM o: donr_w...@yahoo.com; u2-users@listserver.u2ug.org ubject: Re: [U2] Turn a device and inode into file name Are inodes unique across all devices? I was under the impression that they were ot, and therefore you need both for a unique correspondence -----Original Message----- rom: Don Robinson <donr_w...@yahoo.com> o: U2 Users List <u2-users@listserver.u2ug.org> ent: Fri, Mar 16, 2012 12:58 pm ubject: Re: [U2] Turn a device and inode into file name ry "ls -li |grep inode#" in the directory where the file is likley to be or s -liR / |grep inode#" to look everythere. ou may need root permissions to check some files. O warranty! on Robinson rom: Wjhonson <wjhon...@aol.com> : u2-users@listserver.u2ug.org nt: Friday, March 16, 2012 3:23 PM bject: [U2] Turn a device and inode into file name nyone have an easy way to do this? the past I've run a batch routine to just query each and every Universe file r it's inode and device and build a table of these very week.... ems like a great amount of overkill to me. u could also mod the CREATE-FILE command to sniff it and make an xref entry t .... ny suggestions? is is NOT for the case where you know the file and want to find the inode and vice 's for the case where you know the inode and device (only) and want to find e file. _____________________________________________ -Users mailing list -us...@listserver.u2ug.org tp://listserver.u2ug.org/mailman/listinfo/u2-users _____________________________________________ -Users mailing list -us...@listserver.u2ug.org tp://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ 2-Users mailing list 2-us...@listserver.u2ug.org ttp://listserver.u2ug.org/mailman/listinfo/u2-users ______________________________________________ 2-Users mailing list 2-us...@listserver.u2ug.org ttp://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users