mountig - change ro to rw, delete directory, change rw to ro ??
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
mountig - change ro to rw, delete directory, change rw to ro ??
(Edit: Dang typo - mountig = mounting)
I have a unix system that has the root directory mounted read only.
/dev/wd0f / ufs ro 1 1
I need to delete a directory /test, but 'rm -rf /test' gives me messages on each file that it's a read-only file system.
Can I simply umount /dev/wd0f ?
Delete that directory.
And then mount /dev/wdof?
Or, I suppose with the mount command I'll need to respecify the ro.
The problem is that the system doesn't have man pages installed and I'm entering this thread from a windows machine.
you can remount ro again by replacing rw with ro. There are online man pages at linuxqestions.org: http://man.linuxquestions.org/
I think it should be better advertised.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.