--- src/replicant.adb.orig 2023-09-08 15:54:25 UTC +++ src/replicant.adb @@ -1214,6 +1214,12 @@ if AD.Exists (mount_target (ccache)) then mount_nullfs (mount_target (ccache), location (slave_base, ccache), mode => readwrite); + if not AD.Exists (location (slave_base, ccache) & "/tmp") then + AD.Create_Directory (location (slave_base, ccache) & "/tmp"); + end if; + if AD.Exists (location (slave_base, ccache) & "/tmp") then + mount_tmpfs (location (slave_base, ccache) & "/tmp", 1024); + end if; end if; mount_devices (location (slave_base, dev)); @@ -1266,6 +1272,7 @@ end if; if AD.Exists (mount_target (ccache)) then + unmount (location (slave_base, ccache) & "/tmp"); unmount (location (slave_base, ccache)); end if;