Re: How to get full pathname from an inode?

From: Chris Wright (chrisat_private)
Date: Thu Jul 24 2003 - 10:56:12 PDT

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

    * Omen Wild (Omen.Wildat_private) wrote:
    > I have an inode, how do I get the full path (including walking over
    > any mount points) from that inode?
    
    The short answer is, you can't.  There is nothing that guarantees a
    single canonical path to an inode.  Think hard links, multiple mount
    points, and bind mounts.
    
    thanks,
    -chris
    -- 
    Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
    _______________________________________________
    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 - 12:19:52 PDT