I'm working on a script to start named in a chroot environment, with a non-root user. I am used to running the chroot in /var/named/ or the like, but under OpenWRT, this is a tmpfs mount and is not persisted over reboot. For named, especially running as a slave, it is valuable to persist information across boots that is not present in the configuration directories.

Rather than reinvent the wheel, is there already a suggested location for creating a persistent chroot filesystem in the OpenWRT directory structure?

I'm hesitant to use /etc/config/named/chroot/ or the like, as it seems to me that only the configuration data should be captured in a configuration backup, not the dynamic cache data.