Reattach inode to lost&found / what file is it?

Chris Torek chris at mimsy.UUCP
Sat May 20 00:37:02 AEST 1989


In article <1099 at adds.newyork.NCR.COM> tanya at adds.newyork.NCR.COM
(Tanya Katz) writes:
>After fsck reattaches a file to directory lost&found,
>it names it with the inode.  Is there a nice neat way
>of determining what file this was originally?

Which of its up-to-32000 possible names would you prefer?  Consider,
e.g., vi, which is also known as edit, ex, e, and view.

There is never any guaranteed way to turn an inode into a single
pathname, because an inode may have anywhere from zero to (some large
number that varies with the implementation) names.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.sys.att mailing list