Re: Pathname from inode?

David S. Miller (
Wed, 7 May 1997 06:20:42 -0400

From: (Larry McVoy)
Date: Tue, 06 May 1997 15:49:01 -0700

[much discussion of pathnames deleted]

Something I have wanted for a while is the basename of the inode in
the inode (perhaps conditionally compiled in for kernel debugging).
Then you can reconstruct a path to the inode. If there were hard
links involved then you aren't necessarily going to get the path
you expect, but you can get a path.

I should have said something sooner, but Thomas Schoebel's rewrite of
the code of the VFS provides this facility people are asking for. He
provides it specificlly for the true online mirroring daemon he has

I will be working on merging Thomas's new code into 2.1.x over the
next couple weeks...

Yow! 11.26 MB/s remote host TCP bandwidth & ////
199 usec remote TCP latency over 100Mb/s ////
ethernet. Beat that! ////
-----------------------------------------////__________ o
David S. Miller, /_____________/ / // /_/ ><