Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title chkfsys on boot
Ref. No. QNX.000009713
Category(ies) Filesystem
Issue Could I get a copy of the chkfsys that doesn't prompt at all?
We have an embedded system that runs chkfsys from the sysinit file. If chkfsys were to prompt for an error, the system would hang and there would be no way to communicate with it.

Solution Use the '-P' option. Invoked this way it will still prompt on physical I/O errors and on some other extreme internal errors(where blindly fixing these would involve pruning away a large amount of the [unreachable] file system). It is possible to avoid this using '-P' option, but being aware that the automatic recovery procedure for these errors may be extremely difficult. Pausing the boot process in such extreme cases is more sensible.