maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Read-only mass storage connection... (https://talk.maemo.org/showthread.php?t=34428)

Davey101 2010-04-10 18:20

Re: Read-only mass storage connection...
 
Quote:

Originally Posted by lma (Post 376806)
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.

Helmuth 2010-11-09 10:51

Re: Read-only mass storage connection...
 
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. :)


All times are GMT. The time now is 07:03.

vBulletin® Version 3.8.8