Elektrine lite

← Feed

@drwx@mastodon.acc.sunet.se

Post #2454613

2026-02-12 12:17 UTC

I'm still confused on thin vs thick #jails in #FreeBSD. Even if I clone the snapshot, is it not a truly contained jail? I understand utilizing NullFS being thin. Can anyone help clarify?

Replies (2)

  • @drwx@mastodon.acc.sunet.se A jail is always an isolated thing. Different jail managers make slightly different distinctions between thick and thin, but generally thick means you get a new CoW clone of something, thin means that they are not quite CoW, there is an immutable base that is mapped read-only underneath the jail. The immutable layer can be updated underneath.

    Open ##2637297

  • @drwx@mastodon.acc.sunet.se The way I think of 'thick' vs 'thin' is whether the jail has its own copy of root and how it is upgraded. A thick jail has a copy of the base system to itself. Any changes to the base system affect that jail only. You have to upgrade the base of each jail individually. A thin jail shares the base amongst multiple concurrent jails. Any changes to base affect all jails. You can upgrade the base of multiple jails simultaneously by upgrading the shared base.

    Open ##2637298