inode number -> pathname? (4.2BSD)

Guy Harris guy at sun.uucp
Mon Jul 8 21:00:57 AEST 1985


> I am looking for a good way to generate the full path name of a directory, 
> given only its inode number (plus the device number of its filesystem).
> The 'obvious' solution is ... (this is effectively what "ncheck" does).

Not only is it the obvious solution, it's the only solution.  No version of
UNIX currently in existence or coming out in the near future (nor, I
suspect, any version you're likely to see) makes it any easier.

	Guy Harris



More information about the Comp.unix.wizards mailing list