[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4ae3c140708202341x13c8accfq5ad6f747c216dffe@mail.gmail.com>
Date: Tue, 21 Aug 2007 02:41:07 -0400
From: "Xin Zhao" <uszhaoxin@...il.com>
To: "Kevin Hao" <haokexin@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>
Subject: Re: How Linux /proc filesystem convert a fd to the actual pathname?
Thanks! That perfectly answered my question.
-x
On 8/21/07, Kevin Hao <haokexin@...il.com> wrote:
> > I am curious how Linux convert an fd to the pathname? Does it
> > recursively walk back from current dentry to the root?
> Using d_path.
> > Can someone point me to the right place in the kernel where this
> > functionality is implemented?
>
may be the function you want.
>
-
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