Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!drivax!frotz From: frotz@dri.com (Frotz) Newsgroups: comp.unix.ultrix Subject: Ultrix symbolic link strangeness... Message-ID: Date: 1 Apr 91 23:59:17 GMT Sender: frotz@dri.com Reply-To: frotz@dri.com Organization: Digital Research, Monterey CA/USA or none (see also My_Desk) Lines: 47 Greeting Netters... The following is a description of an annoyance bug. If you have any comments or workarounds, please speak up. Problem setup: % ln -s /symbolic_dir /dir1/real_dir % cd /symbolic_dir % pwd Problem: The output from pwd is "/symbolic_dir" not "/dir1/real_dir" as expected. Here are the vitals: 4.3BSD 11/780 Ultrix 3.1 uVax 3100 Ultrix 4.1 uVax 3100 Oldest partition name: Newer partition name: Newest partition name: ---------------------- --------------------- ---------------------- /a (real) /a (ln -s) /graph (real) /a (ln -s) /graph (ln -s) /work2 (real) Requirement: provide a path for /a/graph/bin for hardwired code...;-( In the current situation we have: Real directories Symbolic links ---------------- -------------- /> @/a -> /work2 /work2> @graph -> /work2 /work2/bin> What we used to get: cd /a/graph/bin; pwd # returned /work2/bin What we get now: cd /a/graph/bin; pwd # returns /a/bin Why /a? Why not /work2 as before? What I have done? Any ideas? -- John "Frotz" Fa'atuai frotz@dri.com (email@domain) Digital Research, Inc. uunet!drivax!frotz (bang!email) c/o MIS Dept. (408) 647-6570 (vmail) 80 Garden Court, CompRm (408) 649-3896 (phone) Monterey, CA 93940 (408) 646-6248 (fax)