Location of files on the target

QNX SDP8.0Building Embedded SystemsConfigurationDeveloper

After the QNX OS has started running on the target, the OS image files will be in /proc/boot or any other locations that you explicitly specified as well.

By default, when it builds an image, mkifs puts the included files in the /proc/boot directory. For example, the following in a buildfile:
devc-ser8250
/etc/hosts
results in the following on the target:
/proc/boot/devc-ser8250
/proc/boot/hosts

Note that the second buildfile line (/etc/hosts) instructs mkifs to place hosts at the default location, which is /proc/boot/hosts and not /etc/hosts.

To place a file in another location, you can set an alias for the file, using two pathnames separated by an equal sign (=). For example, the following in a buildfile:
/etc/hosts = /project/target_files/etc/hosts
makes mkifs place the file at the following target path:
/etc/hosts
You can place the file at the same target location as it's stored on the host, as follows:
/release/data1/ = /release/data1
This results in the following target path:
/release/data1
Page updated: