Re: How to get dentry from inode number?

From: Jörn Engel
Date: Fri Jul 29 2005 - 10:14:09 EST


On Fri, 29 July 2005 23:02:53 +0800, ?X?? wrote:
>
> How can I get a full pathname from an inode number ?

That's fundamentally impossible to do. Any given inode may have
multiple paths associated to it. Think of hard links.

Jörn

--
"[One] doesn't need to know [...] how to cause a headache in order
to take an aspirin."
-- Scott Culp, Manager of the Microsoft Security Response Center, 2001
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/