Repartitioning Root Storage Devices for Linux
Many embedded systems require writing to persistent storage during routine operation. While the journaling filesystems used on EMAC OE systems are tolerant of power failures during a write to the filesystem, it is advantageous to leave the root filesystem mounted read-only as often as possible to prevent any possibility of data loss or corruption on the root filesystem. Depending on the target hardware and system requirements, it may be possible to accomplish this using a separate disk (such as an SD card) for data storage. In other situations, secondary partitions on the primary root storage device may need to be used for any application-specific data that needs to be written to disk. The articles below describe the process of creating and utilizing additional partitions for data storage on different storage devices.