Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.wizards Subject: Re: //host vs "mount point" Message-ID: <6817@brl-smoke.ARPA> Date: 13 Dec 87 15:18:37 GMT References: <648@tut.cis.ohio-state.edu> <1668@tut.cis.ohio-state.edu> <38c15248.4580@hi-csc.UUCP> <9559@mimsy.UUCP> <411@PT.CS.CMU.EDU> <6769@brl-smoke.ARPA> <2312@encore.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 16 In article <2312@encore.UUCP> loverso@encore.UUCP (John LoVerso) writes: > % cd /../.. > % pwd > /../.. > % cd bin > % pwd > /bin Someone explained to me how at least one of these systems works; in theirs, the kernel was keeping track and the first chdir("..") from the root actually followed the link (which was "rejigged" to get to a directory of network machine portals) but a subsequent and all following consecutive chdir("..")s would get to the root "/" of the original system. This made the usual "pwd" algorithms continue to report the "right" thing, but although useful it's obviously very warty.