16 days to go!
-
16 days to go!
FreeBSD tips: native read-only root filesystem, simple and effective.
https://it-notes.dragas.net/2024/05/31/freebsd-tips-and-tricks-native-ro-rootfs/
#EuroBSDConAdvent #EuroBSDCon #BSD #FreeBSD #OpenBSD #NetBSD #DragonFlyBSD #ZFS #PF #RunBSD
-
16 days to go!
FreeBSD tips: native read-only root filesystem, simple and effective.
https://it-notes.dragas.net/2024/05/31/freebsd-tips-and-tricks-native-ro-rootfs/
#EuroBSDConAdvent #EuroBSDCon #BSD #FreeBSD #OpenBSD #NetBSD #DragonFlyBSD #ZFS #PF #RunBSD
@stefano The same logic could work on Linux too, right?
-
16 days to go!
FreeBSD tips: native read-only root filesystem, simple and effective.
https://it-notes.dragas.net/2024/05/31/freebsd-tips-and-tricks-native-ro-rootfs/
#EuroBSDConAdvent #EuroBSDCon #BSD #FreeBSD #OpenBSD #NetBSD #DragonFlyBSD #ZFS #PF #RunBSD
I really wanted to move a load of things like default settings and init scripts out of
/etc
so that you could have a complete separation between system things (which can be on a read-only filesystem, support A/B upgrades, and so on) and user-modifiable things. MacOS has done this now and it's great. Updates are just 'download this disk image, extract it to a new volume, set the new volume as the boot one, reboot, delete the old one'.You can get pretty close to this with ZFS (I'd love for upgrades to be possible with
zfs receive
!) but with other filesystems you have a problem withfstab
. If/etc
is not part of the root image, you need to be able to find it somehow. -
@stefano The same logic could work on Linux too, right?
@catavz no, as Linux doesn't support something like that, unless you're using an immutable Linux distribution.
-
undefined Stefano Marinelli ha condiviso questa discussione
-
16 days to go!
FreeBSD tips: native read-only root filesystem, simple and effective.
https://it-notes.dragas.net/2024/05/31/freebsd-tips-and-tricks-native-ro-rootfs/
#EuroBSDConAdvent #EuroBSDCon #BSD #FreeBSD #OpenBSD #NetBSD #DragonFlyBSD #ZFS #PF #RunBSD
@stefano brilliant. I will try this with my pi that is running with an external drive for everything but the system. Thank you!