Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Linux Foundation

Read-only Rootfs: Theory and Practice for Embedded Systems

Linux Foundation via YouTube

Overview

Explore the theory and practice of implementing a read-only rootfs in embedded Linux systems through this informative conference talk. Discover how configuring a read-only rootfs enhances system robustness, reduces flash storage wear, and simplifies system image updates and factory resets. Learn to identify components requiring state storage, distinguish between volatile and non-volatile states, and implement various techniques for mapping writes onto appropriate storage types. Follow along with a live demonstration using a standard Yocto Project build to understand the necessary changes for achieving a real-world embedded system with read-only rootfs. Delve into the implications for software image updates and gain insights from Chris Simmonds, an experienced embedded Linux consultant and trainer. Cover topics such as mount points, memory areas, stateless systems, journaling, path names, first boot challenges, log files, random seed generation, and Android implementations. Conclude with a Q&A session addressing advantages, disadvantages, symlinks, mounts, systemd, and volatile storage in the context of read-only rootfs systems.

Syllabus

Introduction
Readonly rootfs
Why readonly
Image updates
Mount rootfs
Memory areas
Stateless
Enlightenment
Example
Blockdump
Journaling
Verta
Path names
Problems on first boot
Log files
Random seed
Dropout
First boot
Android
Conclusion
QA
Advantages and Disadvantages
symlinks
mount
systemd
volatilepast

Taught by

Linux Foundation

Reviews

Start your review of Read-only Rootfs: Theory and Practice for Embedded Systems

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.