I think i’ve worked this out by having a startup script that:
- set filesystem to rw
- export gpio
- set filesystem to ro
- gpio value is now accessible even though file system is read only.
this gives me the result I need, however is there any problem leaving the GPIO in user space all the time? I would usually export, read, then unexport the gpio.