linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alberich de megres <alberich2k5@gmail.com>
To: linux-fsdevel@vger.kernel.org
Subject: save path to a file
Date: Thu, 4 Jun 2009 22:05:09 +0200	[thread overview]
Message-ID: <12d708830906041305u7964737el1bdd1a5b1c214315@mail.gmail.com> (raw)

Hi everyone!

I got one questiong about saving file path to an inode. The idea is to
have some data on inode that allows me to get path ( or one of the
paths ) to this file ( whithout using d_find_alias, well i don't know
any other way since an inode could have many paths ).

If i save full path to an inode ( on the same inode using xattr ),
this works fine since i got full path to a file but of course if i
change mount point for this partition.

Any tip for this?

thanks!!

             reply	other threads:[~2009-06-04 20:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-04 20:05 Alberich de megres [this message]
2009-06-04 21:23 ` save path to a file Andreas Dilger
     [not found]   ` <12d708830906051421yb3f08d4m83e132df9376c3b@mail.gmail.com>
2009-06-08 21:48     ` Andreas Dilger

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=12d708830906041305u7964737el1bdd1a5b1c214315@mail.gmail.com \
    --to=alberich2k5@gmail.com \
    --cc=linux-fsdevel@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;
as well as URLs for NNTP newsgroup(s).