From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alberich de megres Subject: save path to a file Date: Thu, 4 Jun 2009 22:05:09 +0200 Message-ID: <12d708830906041305u7964737el1bdd1a5b1c214315@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: linux-fsdevel@vger.kernel.org Return-path: Received: from mail-bw0-f213.google.com ([209.85.218.213]:62003 "EHLO mail-bw0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbZFDUFI (ORCPT ); Thu, 4 Jun 2009 16:05:08 -0400 Received: by bwz9 with SMTP id 9so1019728bwz.37 for ; Thu, 04 Jun 2009 13:05:09 -0700 (PDT) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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!!