How to delete files/directories on Read-Only file system
I have some files and directories on an USB flash pendrive. I can't delele them because on read-only filesystem.
$ sudo mount -o remount,rw /mnt/maindir
$ sudo mount -o remount,rw /dev/sdb1
What filesystem I have to specify there?
mount: you must specify the filesystem type
I don't expect running;
to erase the pendrive completely.
$ dd if=/dev/zero of=/dev/sdb1
Please shed me some light. TIA