lkml.org 
[lkml]   [1997]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Pathname from inode?
   From: lm@neteng.engr.sgi.com (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
written.

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, davem@caip.rutgers.edu /_____________/ / // /_/ ><

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.071 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site