Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

Mounting CDs, DVDs and ISOs
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: Mounting CDs, DVDs, ISOs
  • SDP: 6.6.0
  • Target: Any supported target
________________________________________________________________________

Recommendation
________________________________________________________________________

The fs-udf.so library is used when mounting CDs, DVDs and ISOs. The fs-cd.so binary can be used on legacy systems but is now deprecated.

Here is an example of mounting an ISO (note that unlike other operating systems the mount directory does not need to exist):
mount -t udf /somedir/file.iso /fs/mountlocation

Here is an example of mounting a CD or DVD (make sure devb-eide or devb-ahci is running before mounting!)
mount -t udf /dev/cd0 /fs/mountlocation

See below for some caveats to keep in mind when using fs-udf.so:
1) The fs-udf.so binary cannot be stored on a filesystem on the devb block device. Otherwise you will see a "Can't access shared library" error, e.g.
~~~
mount: Can't mount /fs/mountlocation (type udf)
mount: Possible reason: Can't access shared library
~~~

To workaround the "Can't access shared library" error either include fs-udf.so in the build file so that the IFS will include fs-udf.so, or copy fs-udf.so to /dev/shmem then use the fs-udf.so in RAM, e.g.

mount -t /dev/shmem/fs-udf.so /somedir/file.iso /fs/mountlocation

2) There are restrictions on where the ISO to mount can be stored. For example, attempting to mount an ISO stored in /dev/shmem or an NFS share will result in an error when mounting, e.g.
~~~
mount: Can't mount /fs/mountlocation (type /dev/shmem/file.iso)
mount: Possible reason: No such device or address
~~~

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.