This is probably simple for someone who has done their homework, but I am wondering how to make permanent mounts of NFS shares on my RPi 4 running the Channels DVR image. The manual mounts work. If I were on a standard Linux system, I'd know what to put in /etc/fstab. But because of the overlay structure (or whatever), /etc/fstab is on a R/O filesystem. With SMB shares, there is stuff in the UI that then records the mounts somewhere. I haven't found anything for NFS yet.
You can create a systemd mount definition on the overlay, IIRC.
Instead of trying to modify fstab, you could use .mount units, which Systemd will use to construct fstab entries upon boot:
https://www.freedesktop.org/software/systemd/man/systemd.mount.html
Thanks. This sounds like just what I need.
For anyone with the same question later, here's what I figured out from the suggestions from the other posters.
The link provided by @tmm1 in this thread shows an example of a systemd unit file for mounting SMB (aka CIFS) shares. A few lines later in that script is a unit file for arranging automounting of the share. The link provided by @racameron points to one of several places where you can read up on systemd mount unit options.
Creating arbitrary *.mount and *.automount files for NFS mounts is then straightforward. You create them in /mnt/overlay/etc/systemd/system.control/. You should be able to manually "start" the mounts, or "start" the automounts and get the desired result when browsing the mounted directories.
The hitch is that you won't be able to "enable" them. You'll get a complaint about a read-only filesystem (where systemd wants to do some of its bookkeeping). So, those mounts will not be available after a reboot until you take manual action.
The solution to this is that you must target the mounts to mount points under the /shares directory. In that case, the script linked by @tmm1 will find them and mount them at boot time.