Reply
Thread Tools
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:
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#12
Meego Bugs: Write Protected mode for SD/MMC when USB cable is plugged in

Please Vote if you want a GUI for this useful feature at your next Device.
 

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


 
Forum Jump


All times are GMT. The time now is 15:25.