Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there any way/software to make a symbolic link (via ssh for example) to a file on a server?
Example:
I have 2 machine MOO and COW. on MOO, there is a file /tmp/myfile. I want to be able to make a link to that file from cow, so COW:/tmp/dir1/myfile -> MOO:/tmp/myfile.
I don't know if this is possible or now. Anyone have any ideas ?
What you want to do is create a share between these two. Samba is a good start. Then you can mount a samba share as a partition and link files on the two partitions as much as you wish.
Thanks, but that is not exactly what I want to do. Samba would work, so would nfs,
but that is not exactly the result I am looking for. I would like to link a single file from on server
onto another, without having to mount a share. This would be useful for something like global config
files for example. I can have 3 machines linking to a config file on another. I could make a share, but that would
mean that all of my files would have to be stored on the same server. I don't want that. I want to be able to link different
files on different machines to any other machine within the network, and I want to do all this without having a cetral location
available for all of the said files.
no, that's not possible. you can't create links without a filesystem to base it on. there is no support for what you want.
What you want is odd.... and sounds like you want to bring about the most confused bunch on servers known to humanity... there will be a better way to achieve what you are trying to get done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.