Roger Oberholtzer wrote:
On Wed, May 3, 2023 at 9:13 AM Per Jessen <per@opensuse.org> wrote:
I think this is how e.g. Knoppix works/ed - a fixed image and a ram file system, combined with unionfs. Probably also how our Live images work.
I've looked at overlayFS, and it seems to be what I need. I'm just not sure how to set it up in fstab.
Something like:
Mount the current / somewhere (/lower) Make a ram fs (/upper) Make an overlay of the two.
I'm not sure how to set up the 'work' area needed by the overlayfs in only fstab.
a zram device maybe? I have no experience with this type of setup, so I'm just guessing wildly. I expect you may have to do the setup in the initrd. https://www.kernel.org/doc/html/next/admin-guide/blockdev/zram.html -- Per Jessen, Zürich (12.6°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes