Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!cmcl2!rutgers!bellcore!faline!ulysses!hector!ekrell From: ekrell@hector..UUCP (Eduardo Krell) Newsgroups: comp.unix.wizards Subject: Re: Symbolic Links Message-ID: <2924@ulysses.homer.nj.att.com> Date: Fri, 4-Sep-87 20:36:31 EDT Article-I.D.: ulysses.2924 Posted: Fri Sep 4 20:36:31 1987 Date-Received: Sun, 6-Sep-87 03:23:20 EDT References: <1254@mhres.mh.nl> <1809@munnari.oz> Sender: daemon@ulysses.homer.nj.att.com Reply-To: ekrell@hector (Eduardo Krell) Organization: AT&T Bell Labs, Murray Hill Lines: 11 In article <1809@munnari.oz> mwp@munnari.UUCP writes: >The kernel only knows, in this case, one possible path -- the >one you used to get there. Given this problem, how would you know if >you were removing the real directory or just a symbolic link? How about lstat() ? Eduardo Krell AT&T Bell Laboratories, Murray Hill {ihnp4,seismo,ucbvax}!ulysses!ekrell