links not recognized through network

I’ve installed the web QRTP version on my machines.
On the first machine, I link with ln -sP some directories from other
partition in my main directory tree. Everything is OK.
Both machines run qnet.

On the second machine I run pfm and I see some broken files instead of
my directories. If I ‘inspect’ these files, Filetype is: can’t stat
‘developpement’ (no such file or directory).

If I ls on the second machine:
ls -l /net/Serveur_qnx.systeme/developpement I get:
lrwxrwxrwx 1 root root 26 Nov 27 18:13
/net/Serveur_qnx.systeme/developpement → /fs/hd0-qnx4/developpement

So as that information seems to be ok, what’s wrong? Why cannot I access
to these directories via qnet?

Thanks,
Alain.

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

If I ls on the second machine:
ls -l /net/Serveur_qnx.systeme/developpement I get:
lrwxrwxrwx 1 root root 26 Nov 27 18:13
/net/Serveur_qnx.systeme/developpement → /fs/hd0-qnx4/developpement

So as that information seems to be ok, what’s wrong? Why cannot I access
to these directories via qnet?

Right - that link is “symbolic” so it tries to resolve the pathname on
the machine you access it from. I assume you really want this to happen…

/net/server/development → /net/server/fs/hd0-qnx4/development

You want to make a hard link for this to occur, not a symbolic one.

chris

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Chris McKillop a écrit :

Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:
If I ls on the second machine:
ls -l /net/Serveur_qnx.systeme/developpement I get:
lrwxrwxrwx 1 root root 26 Nov 27 18:13
/net/Serveur_qnx.systeme/developpement → /fs/hd0-qnx4/developpement

So as that information seems to be ok, what’s wrong? Why cannot I access
to these directories via qnet?


Right - that link is “symbolic” so it tries to resolve the pathname on
the machine you access it from. I assume you really want this to happen…

/net/server/development → /net/server/fs/hd0-qnx4/development

You want to make a hard link for this to occur, not a symbolic one.

chris

cdm@qnx.com > “The faster I go, the behinder I get.”
Chris McKillop – Lewis Carroll –
Software Engineer, QSSL

Ok Chris I understood my mistake. I did it yet before and Xiaodan pointed me
to the solution. I did:

ln -sP /fs/hd0-qnx4/development /development

But, to get it through the net, I had to do:

ln -sP fs/hd0-qnx4/development development

removing the / at the beginning of the pathnames.

Bye,
Alain.