Mount a directory in read only filesystem to read write

mountunix

I want to delete a particular directory in a read only file system. How do I mount its parent directory in read/write mode, so that I can delete that? I've tried several things with googling, but could not succeed. For some methods it says block device required.

Best Answer

I suppose you would like to remount the /usr file system read-write:

$ sudo mount -o remount,rw /usr

Just change /usr above by the mount point you would like to remount.

Related Question