This patch mounts the ESP (on UFS installations, see notes below) at /boot/efi. It also dramatically simplifies the creation/detection and initialization of the ESP by leveraging the parts of the partition editor that detect pre-existing boot partitions.
After the patch, the ESP behaves as follows:
- The partition editor will reuse an existing ESP, otherwise will make one and format as FAT32
- The ESP will be mounted at /boot/efi (though see D28814)
- The bootconfig script is now only responsible for setting up the loader on a mounted ESP rather than formatting/mounting/etc. It detects an EFI system by seeing if there is a /boot/efi directory on the installed system.
- For redundant ZFS-root systems, space is reserved for an ESP on all root-pool disks, but only one is initialized and mounted.