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 still advantages 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 is 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 an additional partition for data storage on different storage devices.