1
0
Fork 0

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.
master
Dustin 2019-04-01 13:57:25 -05:00
parent ee0abcda84
commit 29d45d92b5
1 changed files with 1 additions and 0 deletions

1
fmos/make writable Normal file
View File

@ -0,0 +1 @@
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