delete .Trash (or anything else) in (read-only mounted) USB sticks
Paul Sladen
ubuntu at paul.sladen.org
Sun Oct 14 19:40:40 UTC 2012
On Fri, 12 Oct 2012, oxy wrote:
> I wanna delete this .Trash from my usb stick:
> Read-only file system
I suspect that the filesystem on the USB stick is corrupted.
In this case, Ubuntu will only allow read-only access, to avoid any
additional damage occuring to what is already on there. This is the
meaning of the 'errors=remount-ro' you will see if you run 'mount' on
its own without any parameters.
You can try to force the USB sticked to be remounted read-write with
something like:
mount -o remount,rw /media/xxx/
and this will then enable the deleting of material stored on the USB
('/.Trash' included). However at this point, if it's a corrupted
filesystem you probably want to acquire a new USB stick and copy over
the important stuff.
-Paul
More information about the ubuntu-users
mailing list