Frank Cox wrote:> I have a number directories under /opt on computer jack. I want some
> (not all) of them to appear in /opt on computer jill.
>
> I have the /opt directory on jack mounted on jill under /mnt/jack
>
> If I go into the /opt directory on jill and do this:
>
> ln -s /mnt/jack/opt/files .
>
> I get /opt/files/files on jill. What I want is /opt/files and I
> can't see what I'm doing wrong.
I don't see anything wrong with that command. A quick test on one of my
systems confirms that it should do what you expect.
Try specifying the target explicitly:
ln -s /mnt/jack/opt/files /opt/files
(no trailing slashes on either the source or destination)
--
Bowie