From 29d45d92b526e4ea9bf7cbd7f3adc7957f4e543d Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 1 Apr 2019 13:57:25 -0500 Subject: [PATCH] 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. --- fmos/make writable | 1 + 1 file changed, 1 insertion(+) create mode 100644 fmos/make writable diff --git a/fmos/make writable b/fmos/make writable new file mode 100644 index 0000000..1c95163 --- /dev/null +++ b/fmos/make writable @@ -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 \ No newline at end of file