This builds a file that contains cross references inodes and works fine on Windows. You could obviously modify it to query on a file rather than building an xref file but I use this file to drive a modified list.readu that shows real file names rather than inodes.
0001: OPEN 'INODE.XREF' TO INODE.XREF ELSE STOP 'OE INODE.XREF' 0002: PERFORM 'SELECTF TO 1' 0003: LOOP 0004: READNEXT FILE.NAME FROM 1 ELSE EXIT 0005: CRT FILE.NAME 0006: OPEN FILE.NAME TO F.FILE THEN 0007: STATUS STAT.ARR FROM F.FILE THEN 0008: WRITE STAT.ARR<27> ON INODE.XREF,STAT.ARR<10> 0009: END 0010: END 0011: CLOSE F.FILE 0012: NAP 1 0013: REPEAT -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid Sent: 06 December 2004 07:27 To: [EMAIL PROTECTED] Subject: Re: [U2] Universe on Windows - How to determine inode Try find . -inum nn -print after cd-ing to the mount place of the file system where the file is ( or above it ). If You have no clue use '/' but it will quite some time. nn should be the inode You're searching for. This should work for solaris at least. HTH -- mats [EMAIL PROTECTED] wrote: >I have a client who is running Universe 10 on Windows. > >If I know a file name, I can determine the inode fairly quickly. However, what if I know the inode but do NOT know the filename? How can I determine the filename from knowing the inode only? > >Thanks >Will Johnson >------- >u2-users mailing list >[EMAIL PROTECTED] >To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone +44 (0)20 7896 0011 and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Markets Limited and IG Index Plc are authorised and regulated by the Financial Services Authority and, in Australia, by the Australian Securities and Investments Commission. ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/