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.
I suppose you would like to remount the
The key is that you need to do this on a mount point basis. There is no easy way to do this for just a portion of a mounted filesystem. To get a list of the currently mounted filesystems, try
For one problem that the ability to do this would lead to, consider hard links. If a file is linked in one directory that is read-only and another that is read-write, what should the permissions on that file be?