Once the QNX OS is up and running the files in the image will be in /proc/boot. You can specify other locations as well, however.
By default, when it builds an image, mkifs puts the files in an OS image 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
/release/data1
in the buildfile instructs mkifs to place data1 at the default location in the image, resulting in:
/proc/boot/data1
not /release/data1.
To place a file in another location on the target, you can set an alias so that mkifs places the files in the location you specify. For example, the following in a buildfile:
devc-ser8250 /etc/hosts = /project/target_files/etc/hosts
results in the following on the target:
/proc/boot/devc-ser8250 /etc/hosts
Similarly, the following:
/release/data1/ = /release/data1
results in the following on the target:
/release/data1
When it builds the image, mkifs places the file in the path you specify. This path can be different from the path on the host. For example, to instruct mkifs to place /home/ophelia/embedded/passwd in the image at /etc/passwd so that it becomes the password file for the whole embedded system, specify the following in the buildfile:
/etc/passwd = /home/ophelia/embedded/passwd