We need to copy approx. every 3 seconds a file of data (samples of measured analog/digital values) from QNX4 application to Windows machine.
We’d like to use SMBfsys to mount Windows’ shared folder and run SMBfsys+mount in sysinit.
Problem is that if the remote Windows machine is not accessible during QNX4 boot (SMB mount), mount makes local directory with the name.
Another problem is unavailability of remote machine during standard operation (periodic copying of file).
Question: Is there some elegant method of verifying real existence (not “mistaken” local mount) and real accessibility (not “frozen” share after disconnecting/reconnecting Ethernet cable of remote Win machine) of SMBfsys mounted remote share on QNX4 machine before every copying the file?