How to prevent linux write to a disk ?
My PC104 (pentium M, 1.4GHz) runs vanilla 22.214.171.124
The PC access FPGA via PCI every 3ms.
The FPGA initiates DMA (every 3ms) of data to a pre-allocated physical RAM in the PC104.
We noticed that if PC104 writes to its flash disk (from which linux boots), the data received by DMA is sometimes corrupted.
This is probably because the IDE controller is also on the same PCI bus.
The disk is divided into 2 ext3 partitions.
The first partition contains all the linux file system (boot,etc,bin,usr,tmp...)
The second partition contains the application + configuration files.
I set the first partition to read-only in the grub line.
I set the second partition to read-only using /etc/fstab
How can I prevent linux from writing to the disk ?
The application does not write to the disk at all.