Re: How to get full pathname from an inode?

From: David Wagner (dawat_private)
Date: Thu Jul 24 2003 - 10:12:21 PDT

  • Next message: Omen Wild: "Re: How to get full pathname from an inode?"

    Omen Wild  wrote:
    >Another question.  I am trying to build up the full path name of a file
    >from the inode_permission hook.  I have an inode, how do I get the full
    >path (including walking over any mount points) from that inode?
    
    Mu.  As far as I know, you can't.  I don't think there is any well-defined
    answer.  There could be multiple paths that point to the same inode.
    
    Out of curiousity, why do you want the path name?
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Thu Jul 24 2003 - 10:13:24 PDT