mount doesn't work in qnx 6.2.1

Hello,
I have a linux machine with settings in /etc/exports:
/home/user_name QNX_IP_ADDRESS

after starting nfs server from linux box, I tried to mount the directory
/home/user_name to QNX machine 6.2.1 directory /root/mm

I created a directory /root/mm in QNX machine and run the command the
followng command in QNX:
mount linux_IP:/home/user_name /root/mm

I got the error below:
mount: Can’t mount /root/mm (type nfs)
mount: Possible reason: No such device or address.

how can I fix this problem? Thanks.

I created a directory /root/mm in QNX machine and run the command the
followng command in QNX:
mount linux_IP:/home/user_name /root/mm

You don’t need to create a directory under QNX. And you need to either
have fs-nfs2 running already or you can just run it directly…

fs-nfs2 linux_IP:/home/user_name /root/mn

chris


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

Chris McKillop wrote:

I created a directory /root/mm in QNX machine and run the command the
followng command in QNX:
mount linux_IP:/home/user_name /root/mm



You don’t need to create a directory under QNX. And you need to either
have fs-nfs2 running already or you can just run it directly…

fs-nfs2 linux_IP:/home/user_name /root/mn

chris

Thanks so much for your help. It works well. In the future to make it
automatically mounted after rebooting, I need to put the following into
rc.local,

fs-nfs2 linux_IP:/home/user_name /root/mn

but I am not sure if there is a better way of doing it?
Thank you.

but I am not sure if there is a better way of doing it?
Thank you.

That is just fine. I have pretty much the same code in my rc.local. Consider
adding a & at the end to run it in the background.

chris


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