BeagleBone read only file system and GPIO

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.

How do you set the filesystem ro?Can you explain?

Regards

2012/10/31 HeyStew <heystew@gmail.com>