LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 01-18-2005, 10:56 AM   #1
LostAgain
LQ Newbie
 
Registered: Sep 2004
Posts: 19

Rep: Reputation: 0
Symbolic Link to server...


Hi,

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 ?

-LostAgain
 
Old 01-18-2005, 12:03 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
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.
 
Old 01-18-2005, 12:25 PM   #3
LostAgain
LQ Newbie
 
Registered: Sep 2004
Posts: 19

Original Poster
Rep: Reputation: 0
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.

Hope that makes sense.

-LostAgain
 
Old 01-18-2005, 12:54 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is a Symbolic Link? little_penguin Linux - Software 2 05-14-2005 09:27 AM
Symbolic link? jasone Linux - Newbie 4 05-06-2005 07:55 AM
help with a symbolic link mykrob Linux - Software 6 11-22-2004 10:01 AM
symbolic link jsetter Linux - Newbie 4 11-22-2004 07:18 AM
Symbolic link bwaynej2002 Linux - General 8 08-25-2003 10:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration