Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!eneevax!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.questions Subject: Re: A couple questions Message-ID: <5840@brl-smoke.ARPA> Date: Thu, 7-May-87 01:20:24 EDT Article-I.D.: brl-smok.5840 Posted: Thu May 7 01:20:24 1987 Date-Received: Sat, 9-May-87 02:04:58 EDT References: <3164@jade.BERKELEY.EDU> <2382@ncoast.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <634@boulder.Colorado.EDU> cdash@boulder.Colorado.EDU (Charles Shub) writes: >actually, it is possible. you know the inode associated with the descriptor >start at "/" and just keep looking for that i# keeping track of where you are. This can find A name for the inode (assuming that there IS one and that you avoid the many pitfalls that are possible), but not THE name that was used to open the file. (Even in the absence of more than one link, a variety of names could have been used.) You wouldn't want to wait for this anyway on some of the large filesystems we have around here.