with the right fstab + kernel you can just mount in the adb session you have with the recovery.
The issue user ran into was a recovery kernel that couldn’t mount the filesystem. Context were space issues during/after upgrade. It’d be nice for lineage/e to use twrps openrecoveryscript.
As for how it’s implemented, in that old thread I linked how twrp goes about it.