[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ae3c140708201958x3c88b317o2ba9be64177978f5@mail.gmail.com>
Date: Mon, 20 Aug 2007 22:58:26 -0400
From: "Xin Zhao" <uszhaoxin@...il.com>
To: linux-kernel <linux-kernel@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>
Subject: How Linux /proc filesystem convert a fd to the actual pathname?
Hi,
In the Linux proc filesystem, /proc/[pid]/fd is a link to the
actually the actual pathname of the opened file.
I am curious how Linux convert an fd to the pathname? Does it
recursively walk back from current dentry to the root?
Can someone point me to the right place in the kernel where this
functionality is implemented?
Many thanks in advance!
-x
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists