Files
snips/fmos/make writable
Dustin C. Hatch 29d45d92b5 fmos/make writable: Mount tmpfs overlay on /usr
I use this command to mount a tmpfs filesystem on top of `/usr` using
OverlayFS to temporarily make the FMOS immutable filesystem mutable.
This is particularly useful for testing changes without rebuilding the
image.
2019-04-01 13:57:25 -05:00

1 line
137 B
Plaintext

mkdir -p /run/fmos/usr/{.work,rw} && mount -t overlay -o lowerdir=/usr,upperdir=/run/fmos/usr/rw,workdir=/run/fmos/usr/.work overlay /usr