mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: ?X?? <brianhsu.hsu@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to get dentry from inode number?
Date: Fri, 29 Jul 2005 17:11:09 +0200	[thread overview]
Message-ID: <20050729151109.GA10453@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <615cd8d10507290802690dd50f@mail.gmail.com>

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

  reply	other threads:[~2005-07-29 15:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-29 15:02 墳墓
2005-07-29 15:11 ` Jörn Engel [this message]
2005-07-29 15:28 linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050729151109.GA10453@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=brianhsu.hsu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®