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 Dosfsys support for synchronous write
Ref. No. QNX.000009706
Category(ies) Filesystem
Issue Does Dosfsys supports synchronous write?

Solution No, Dosfsys (QNX 4.24) does not support a synchronous write. The block device hosting the DOS file system is just accessed through open (O_RDWR) and block_write() calls. Removable media does have a periodic fsync() done to it, but not a fixed disks. The behaviour is determined by the Fsys parameters (-d etc).
A useful extention would be to use the O_SYNC flag when opening the DOS file and having Dosfsys call fsync() on the device that fd is written to.