RE: symbolic linking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux