利用 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

转载于:https://www.cnblogs.com/jeakeven/p/5301969.html

Logo

昇腾计算产业是基于昇腾系列(HUAWEI Ascend)处理器和基础软件构建的全栈 AI计算基础设施、行业应用及服务,https://devpress.csdn.net/organization/setting/general/146749包括昇腾系列处理器、系列硬件、CANN、AI计算框架、应用使能、开发工具链、管理运维工具、行业应用及服务等全产业链

更多推荐