[英]Android : Read-only file system
I'm using a terminal emulator on Android 4.1.1 device. 我在Android 4.1.1设备上使用终端模拟器。
When I run cat > sample
, it says: Can't create sample: Read-only file system.
当我运行
cat > sample
,它说: Can't create sample: Read-only file system.
I don't want to root my device. 我不想植根我的设备。
Any workarounds? 任何解决方法?
In fact, your system partition (mounted as /) is read-only. 实际上,您的系统分区(挂载为/)是只读的。 And you can remount it as read-write.
您可以将其重新安装为读写状态。 However, all the files your modified to the system partition will not survive when you restart your emulator.
但是,重新启动仿真器后,修改为系统分区的所有文件将无法保存。 You can refer more information here .
您可以在此处参考更多信息。
A correct way is to deploy your files at /data/ or /sdcard/. 正确的方法是将文件部署在/ data /或/ sdcard /。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.