Generic techniques to reduce the size of the IFS
QNX SDP8.0Boot Optimization GuideDeveloper
Techniques you can use to reduce the size of an IFS include removing unused executables, implementing symbolic links, and moving selected files to an external filesystem.
The IPL copies the IFS from flash memory into RAM. The kernel and the applications can begin running only after this copy operation is complete. Therefore, the smaller you make the IFS, the sooner those components can run. Here are some techniques you can use to reduce the size of your IFS:
- Remove unused executables
- Remove executables from the image only if the benefits of doing so outweigh the loss of useful tools.
- Use symbolic links
- Shared libraries in POSIX systems, including the QNX OS, typically have two representations in the filesystem: a regular filename (with a version number) and a symbolic link (without a version number). For instance, libc.so.2 and libc.so.
- Move selected files into an external filesystem
- If a file doesn't need to start early in the boot process, move it into a flash external filesystem. The smallest IFS consists of the kernel, libc, a UART driver, a flash driver, and little else. After the flash driver loads, it can automount the external filesystem partitions, and you can start running the remainder of your drivers or applications files from there.
Page updated: