> Linux故障 >

利用 mount 指令解决 Read-only file system的问题

在linux系统中创建一个文件提示:

/application/report/shiwei # touch test.c
touch: cannot touch `test.c': Read-only file system

 

总是提示Read-only file system,也就是说系统是只读的,什么也写不了。于是在网上到处找了一下,发现解决起来挺容易的。一条命令就可以了

 

mount -o remount rw /

参考:http://www.blogjava.net/hadeslee/archive/2009/08/13/291043.html

(责任编辑:IT)