i want to automatically mount two network file system when qnx start.
To do that, I have created the file /etc/rc.d/rc.local which is loaded at
startup,
and i wrote:
fs-nfs2 ip_server:/dir1 /exp_dir1
fs-nfs2 ip_server:/dir2 /exp_dir2
The first command doesn’t work and qnx display “mount error …”
and second one works very well.
i want to automatically mount two network file system when qnx start.
To do that, I have created the file /etc/rc.d/rc.local which is loaded at
startup,
and i wrote:
fs-nfs2 ip_server:/dir1 /exp_dir1
fs-nfs2 ip_server:/dir2 /exp_dir2
The first command doesn’t work and qnx display “mount error …”
and second one works very well.
I don’t know why the second one didn’t work but you can
do both on the same line:
i want to automatically mount two network file system when qnx start.
To do that, I have created the file /etc/rc.d/rc.local which is loaded at
startup,
and i wrote:
fs-nfs2 ip_server:/dir1 /exp_dir1
fs-nfs2 ip_server:/dir2 /exp_dir2
The first command doesn’t work and qnx display “mount error …”
and second one works very well.
I don’t know why the second one didn’t work but you can
do both on the same line:
i want to automatically mount two network file system when qnx start.
To do that, I have created the file /etc/rc.d/rc.local which is loaded
at
startup,
and i wrote:
fs-nfs2 ip_server:/dir1 /exp_dir1
fs-nfs2 ip_server:/dir2 /exp_dir2
The first command doesn’t work and qnx display “mount error …”
and second one works very well.
I don’t know why the second one didn’t work but you can
do both on the same line:
Try starting in safe mode I beleive it will not run rc.local…
yes, but i can’t see rc.local with “ls” and i can’t edit rc.sysinit to
disable the startup of rc.local
Do a find / -name rc.local. It’s got to be somewhere
Or trying disconnecting the network. If it timeout it could
stop??
I tried it but it doesn’t work
The same thing has just happened to us after some fooling around with the
device enumerator. Try booting the machine, press space and select F5 for a
debug shell. Once there you, type exit and then at the prompt type PATH =
$PATH:/bin:/sbin. Type login and then login as root (to ensure that login
scripts are run to set up environment) and then you should be able to edit
the file.