View Single Post
Davey101's Avatar
Posts: 40 | Thanked: 14 times | Joined on Feb 2010 @ UK
#11
Originally Posted by lma View Post
This might work:

Code:
# echo 1 > /sys/devices/platform/musb_hdrc/gadget/gadget-lun0/ro
(or gadget-lun1 for the microSD card).
This works perfectly for me, thanks.

I've created a script to make both the N900 and the SD card read only before connecting to an untrusted system, and a further script to undo the changes. Now I don't keep losing my autorun.inf file and gaining virus files.
__________________
Dave
 

The Following User Says Thank You to Davey101 For This Useful Post: