On QNX, you can mount multiple file systems and also have multiple Image File Systems (IFS), which represent files in a file system structure. It can be difficult to find the resource manager responsible for a file.
The whichdev program (source attached) takes the given path and prints out information about the file owner. It does this by calling devctl()'s with the DCMD_FSYS_MOUNTED_AT and DCMD_FSYS_MOUNTED_ON. See our documentation for more information on these commands.
You can also run into a problem that a file is read-only and the reason is that it is located in the read-only IFS. In these cases it handy to know the resource manager that handles a file.
Please review the usage information for reference.
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.
Please contact us with your questions or concerns.
BlackBerry uses cookies to help make our website better. Some of the cookies are necessary for the proper functioning of the website while others, non-essential cookies, are used to better understand how you interact with our website and to make it better.