Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title After prefixing '/' to a ZIP drive on a QNX4 system, a 'resource unavailable' errors occur
Ref. No. QNX.000010187
Category(ies) Filesystem
Issue Many programs which are called from within a setup script receive several errors such as 'resource unavailable' after prefixing '/' to '/zip'.  We need to get programs to run of the ZIP drive instead of the hard drive.


Solution Instead of prefixing the "/" to "/zip" add the paths that you wish to excute programs from off of the zip drive to the PATH environment variable.  Use the export command and make sure that the zip drive paths appear in the path environment variable before the hard drive paths

i.e.:
PATH=$PATH:/bin:/etc:/usr/bin:/usr/local/bin:/qnx4/photon/bin:/qnx4/photon/usr/bin:/qnx4/phtk/appbuilder:/usr/bin/photon;
export PATH=/ZIP/local/bin:/ZIP/local/etc:/ZIP/local/usr/bin:/ZIP/usr/local/bin:/ZIP/local/qnx4/photon/bin:/ZIP/local/qnx4/photon/usr/bin:/ZIP/local/qnx4/phtk/appbuilder:/ZIP/local/usr/bin/photon:$PATH

This allows programs to run off of the ZIP drive even though '/' is prefixed to the hard drive