Re: unionfs in jails

From: Sulev-Madis Silber <freebsd-hackers-freebsd-org952_at_ketas.si.pri.ee>
Date: Wed, 09 Apr 2025 19:52:00 UTC
yeah i hate to read this

BUGS
     THIS FILE SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T WORK)
     AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM.  USE AT YOUR OWN
     RISK.

from manpage of a really useful fs. it has been like that for 10+ years. 20? 20+? when was it added anyway?

in my case, it allows one to use ro system like installer livecd to be used with rw tmpfs overlays

10y ago i also used it to put together a final rootfs tree for embedded system. i currently use rsync and/or tar | tar for this

i look unionfs to be actually supported, fixed, usable fs so that warning could be removed! but i can't do this myself...

i can test tho



On April 9, 2025 10:26:52 PM GMT+03:00, Olivier Certner <olce@freebsd.org> wrote:
>Hi,
>
>There's no reason (that I know of) you could not use unionfs in jails.  However, unionfs has been needing attention and deep fixes for a long time (irrespective of its use in jails), which has been on my TODO list for a while (work should start relatively soon now...).  There has been stabilization work by jah@ in the past years.  At this point, your best bet is just to try it and report any problem you encounter.
>
>Thanks and regards.
>