I want to delete a particluar directory in a read only file system. How to mount its parent directory it in read write mode so that I can delete tha. I tried different things after googling. But could not succeed. For some options it say, block device required.
|
feedback
|
|
I suppose you would like to remount the
Just change | |||||||
feedback
|
|
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? | |||
|
feedback
|
mountworks that way, as far as I know its syntax is:mount -t type device dir. – cYrus Sep 30 '10 at 19:20