一. 网址参考
二. 实践
1. 把设备ubi2_0按照ubifs格式挂载到opt分区
mount -t ubifs ubi2_0 /opt
mount -t ubifs -o ro ubi2_0 /opt #按照只读方式挂载
2. 把opt分区修改为只读分区
mount -o remount,ro /opt
mount -t ubifs ubi2_0 /opt
mount -t ubifs -o ro ubi2_0 /opt #按照只读方式挂载
mount -o remount,ro /opt