Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a special bespoke device with a USB interface. When plugging in the device to my laptop - Ubuntu 12.04 it mounts as a read only USB drive - with a file on it. This file is created by the device and writes to the file when the device scans stuff.

I however, want to be able to write to the drive so the device 'thinks' it has already scanned x amount of entries.

Basically I want to replace the file 'File1.txt' my version of 'File1.txt' however I cannot because the drive is mounting as Read only.

I have tried the following commands:

andy@andy-ThinkPad-W530:/media/iRead$ touch giveme.txt
touch: cannot touch `giveme.txt': Read-only file system
andy@andy-ThinkPad-W530:/media/iRead$ sudo mount -o remount,rw '/media/iRead'
[sudo] password for andy: 
mount: cannot remount block device /dev/sdb read-write, is write-protected
andy@andy-ThinkPad-W530:/media/iRead$ 

Can anybody suggest anything I can try to mount this as writable drive?

I have a very strong feeling that the chip which is storing this data is the following:

ARM STM32F103 RBT6 22oUP _ 93 MLT22950

Hope this helps somebody to help me!

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.