Or loop through "df" with 'cd filesystemname ; find . -ls -depth | awk "{print
$x $y}"' where $x and $y are the
Column numbers for the inode number and the filename
Of course, this would be for unix only
George
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of George Gallen
Sent: Friday, March 16, 2012 3:37 PM
To: U2 Users List
Subject: Re: [U2] Turn a device and inode into file name
What about doing a "df", then loop through each filesystem that is a universe
directory, and run "ls -i" (looping through each directory)
Then index the resulting ls's ?
George
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Wjhonson
Sent: Friday, March 16, 2012 3:24 PM
To: [email protected]
Subject: [U2] Turn a device and inode into file name
Anyone have an easy way to do this?
In the past I've run a batch routine to just query each and every Universe file
for it's inode and device and build a table of these
Every week....
Seems like a great amount of overkill to me.
You could also mod the CREATE-FILE command to sniff it and make an xref entry
but ....
Any suggestions?
This is NOT for the case where you know the file and want to find the inode and
device
It's for the case where you know the inode and device (only) and want to find
the file.
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users