I have a few questions about setting up filesystems in qnx, especially ext2 and ETFS.
First of all my problem: I have a pc (pc104) with a 32GB ssd drive (solid state disk). I run qnx on the machine and log data with a high data rate on a second partion (same disk). In my special case it is possible, that there is a power-off or a reset without closing the file correctly. When this happens, all data in the (write-) buffer is lost an I am not able to read the logfile. But I want to do this
Now, my questions:
How can I set up a synchronous I/O, so that the write buffer to the disk is disabled?
Is it possible to format an ext2 partition with qnx? Until now I found no included tool to do that.
For the second partion (first one is a normal qnx4 partition) I’ve tried to set up an ETFS Filesystem using the flashctl command. This seems to be a better solution than qnx4- or ext2-filesystem because the ssd-drive is NAND based. But it never worked
When I use commands as written in the utilities reference nothing happens. I’ve also tried to use fdisk to create a partition an then using flashctl to format the partion. Then I get an error message “can’t erase partiton”.
So what must I do to get this ETFS Filesystem working?
Hope somebody can help me?