[indiana-discuss] [osol-discuss] ln -s: OpenSolaris vs Linux vs Solaris
Paul Griffith
paulg at cse.yorku.ca
Thu Nov 5 08:56:28 PST 2009
On Thu, 2009-11-05 at 17:45 +0100, Casper.Dik at Sun.COM wrote:
> >Greetings,
> >
> >I noticed a subtle difference in symbolic links between Linux and
> >OpenSolaris.
> >
> >Look at the two examples below. It is like OpenSolaris is treating the
> >sym link like a hardlink. So what is the problem? Under OS pwd returns
> >the link name as the current working directory if you cd into the
> >symlinked dir and under Linux pwd return the target name as the current
> >working directory if you cd into the symlinked dir.
>
> This depends on your shell, not the OS.
>
> Casper
>
Thank You,
I was using tcsh on Linux and Solaris 2.8 SPARC, while I was using bash
on OpenSolaris. If I use bash Linux it acts like OpenSolaris.
Cheer!
Paul
More information about the indiana-discuss
mailing list