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 'Cannot attach prefix -/dos: file exists' error when running Dosfsys
Ref. No. QNX.000005429
Category(ies) Utilities
Issue We have an extended partition on our hard drive and it contains one DOS partition.  Invoking the DOS filesystem driver, Dosfsys (Dosfsys c=/dev/hd0.0t6.1 or just Dosfsys &) command to try to load the partition, it gives the following error:

Cannot attach prefix -/dos: file exists.
Solution This error occurs when Dosfsys is already running and an attempt is being made to attach to a drive that has already been mapped.

For example:
  -run 'Dosfsys &', which replies 'QNX device '/dev/fd0' adopted as DOS drive '/dos/a''
  -then try to run 'Dosfsys a=/dev/fd0'
This will result in 'Cannot attach prefix -/dos: file exists.' error