You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In helloSystem, we would like to have a system that can be booted from truly read-only media such as DVD-ROM.
Setting Up FreeBSD for Read-Only Booting makes it seem like it is possible to boot FreeBSD from read-only media. Looks rather simple! Exactly what we would like to use.
But then, initgfx currently assumes it can write in many places.
Currently helloSystem needs a giant workaround that copies the whole system into RAM, just to make initgfx work. We also tried to use unionfs but could not get it to work with initfgx.
So the question is:
Would it be possible to change initgfx in a way so that it only writes in /var/run?
One could symlink the files/directories it needs to write to /var/run.
After all, I think that conceptually any data that initgfx touches is transient in nature, it is auto-generated on the fly and cached, but should not be persisted. So, exactly what /var/run is for?
The text was updated successfully, but these errors were encountered:
probonopd
changed the title
[Reature request] Allow initgfx to work on read-only root filesystems
[Feature request] Allow initgfx to work on read-only root filesystems
Apr 2, 2021
In helloSystem, we would like to have a system that can be booted from truly read-only media such as DVD-ROM.
Setting Up FreeBSD for Read-Only Booting makes it seem like it is possible to boot FreeBSD from read-only media. Looks rather simple! Exactly what we would like to use.
But then,
initgfx
currently assumes it can write in many places.Currently helloSystem needs a giant workaround that copies the whole system into RAM, just to make
initgfx
work. We also tried to useunionfs
but could not get it to work withinitfgx
.So the question is:
Would it be possible to change
initgfx
in a way so that it only writes in/var/run
?One could symlink the files/directories it needs to write to
/var/run
.After all, I think that conceptually any data that
initgfx
touches is transient in nature, it is auto-generated on the fly and cached, but should not be persisted. So, exactly what/var/run
is for?The text was updated successfully, but these errors were encountered: