**** BEGIN LOGGING AT Fri Sep 17 02:59:56 2021 Sep 17 19:27:09 Does anyone have state of the art for using an overlayfs to add r/w to a root mounted as read only? Sep 17 19:40:42 Crofton: there was an overlayfs feature added to oe-core recently, but I wasn't paying attention enough to know if it covers that exact usecase Sep 17 19:40:59 ah right Sep 17 19:41:03 thanks for reminding me Sep 17 19:41:54 I've switched from a qspi based root to an overlay based off emmc (entirely( but now want to preserve existing root filesytem as the lower Sep 17 19:46:46 seems based off systemd ... Sep 17 19:48:14 also seems to not be setup to replace the rootfs, just a directory Sep 17 19:51:27 and thanks for the reminder Sep 17 19:52:10 mounting an overlay directly on the root seems like a weird thing to do Sep 17 19:52:49 say you want to install a package update, this will touch things in a couple of top level directories Sep 17 19:53:09 packages, ugh Sep 17 19:54:20 derailed your line of thought :) Sep 17 19:55:21 anyway, you normally have bunch of special filesystems mounted Sep 17 19:55:29 proc, sys, dev, tmp, ... Sep 17 19:55:43 you really wouldn't want an overlay to intercept /sys Sep 17 19:55:50 or /dev Sep 17 20:40:49 Crofton: You're best bet is probably to have an initrd do that before booting /init on the main rootfs Sep 17 20:42:12 We overlay read-only / in our initrd, but only as a developer aid so that devs can test rootfs changes live; we don't do it in production Sep 17 20:43:14 only overlaying configuration related things seems more common from what I've heard from other folks that have told me they ship something using it **** ENDING LOGGING AT Sat Sep 18 03:00:04 2021