raja wrote:

>     Is there any way to get the file name if i-node number is known?

Recursively scan the entire filesystem on which the inode resides.

Note that you aren't guaranteed to obtain a single filename. If the
file has multiple hard links, there will be multiple filenames. If the
file has been deleted (which can occur even if it's still open), you
won't find any matching filenames.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" 
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to