Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.unix-wizards Subject: Re: inode number -> pathname? (4.2BSD) Message-ID: <2397@sun.uucp> Date: Mon, 8-Jul-85 07:00:57 EDT Article-I.D.: sun.2397 Posted: Mon Jul 8 07:00:57 1985 Date-Received: Thu, 11-Jul-85 00:22:25 EDT References: <6727@Shasta.ARPA> Distribution: net Organization: Sun Microsystems, Inc. Lines: 9 > 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