Ultrix symbolic link strangeness...
Frotz
frotz at dri.com
Tue Apr 2 09:59:17 AEST 1991
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 at dri.com (email at 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)
More information about the Comp.unix.ultrix
mailing list