On Thu, 24 Jul 2003 12:48:25 EDT, Omen Wild <Omen.Wildat_private> said: > Another question. I am trying to build up the full path name of a file > =66rom the inode_permission hook. I have an inode, how do I get the full > path (including walking over any mount points) from that inode? The > code I have is this: You mean *A* full path name. % cd /tmp % mkdir a b % touch a/foo % ln a/foo b/bar % ls -li a/foo b/bar 113549 -rw-r--r-- 2 valdis valdis 0 Jul 24 13:08 a/foo 113549 -rw-r--r-- 2 valdis valdis 0 Jul 24 13:08 b/bar What does a lookup of inode 113549 return? /tmp/a/foo, or /tmp/b/bar?
This archive was generated by hypermail 2b30 : Thu Jul 24 2003 - 10:12:07 PDT