完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
默认数据分区的文件系统为f2fs,建议不带电池的产品可以将数据分区的文件系统ext4改为,可以异常删除电后数据丢失的标识。方法如下:
device/rockchip/common$ git diff diff --git a/scripts/fstab_tools/fstab.in b/scripts/fstab_tools/fstab.in index 6e78b00..a658332 100755 --- a/scripts/fstab_tools/fstab.in +++ b/scripts/fstab_tools/fstab.in # For pcie ssd /devices/platform/*.pcie* auto vfat defaults voldmanaged=pcie:auto /dev/block/zram0 none swap defaults zramsize=50% # For sdmmc /devices/platform/${_sdmmc_device}/mmc_host* auto auto defaults voldmanaged=sdcard1:auto # Full disk encryption has less effect on rk3326, so default to enable this. -/dev/block/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065 latemount,wait,check,fileencryption=aes-256-xts:aes-256- cts:v2+inlinecrypt_optimized,quota,formattable,reservedsize=128M,checkpoint=fs +#/dev/block/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065 latemount,wait,check,fileencryption=aes-256-xts:aes-256- cts:v2+inlinecrypt_optimized,quota,formattable,reservedsize=128M,checkpoint=fs # for ext4 -#/dev/block/by-name/userdata /data ext4 discard,noatime,nosuid,nodev,noauto_da_alloc,data=ordered,user_xattr,barrier=1 latemount,wait,formattable,check,fileencryption=software,quota,reservedsize=128M ,checkpoint=block +/dev/block/by-name/userdata /data ext4 discard,noatime,nosuid,nodev,noauto_da_alloc,data=ordered,user_xattr,barrier=1 latemount,wait,formattable,check,fileencryption=software,quota,reservedsize=128M ,checkpoint=block device/rockchip/rk356x$ git diff diff --git a/rk3566_r/recovery.fstab b/rk3566_r/recovery.fstab index 7532217..cf789ac 100755 --- a/rk3566_r/recovery.fstab +++ b/rk3566_r/recovery.fstab @@ -7,7 +7,7 @@ /dev/block/by-name/odm /odm ext4 defaults defaults /dev/block/by-name/cache /cache ext4 defaults defaults /dev/block/by-name/metadata /metadata ext4 defaults defaults -/dev/block/by-name/userdata /data f2fs defaults defaults +/dev/block/by-name/userdata /data ext4 defaults defaults /dev/block/by-name/cust /cust ext4 defaults defaults /dev/block/by-name/custom /custom ext4 defaults defaults /dev/block/by-name/radical_update /radical_update ext4 defaults defaults |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
353 浏览 1 评论
1758 浏览 1 评论
3013 浏览 1 评论
synopsys 的design ware:DW_fpv_div,浮点数除法器,默认32位下,想提升覆盖率(TMAX),如果用功能case去提升覆盖率呢?
3751 浏览 1 评论
RK3588 GStreamer调试四路鱼眼摄像头四宫格显示报错
6562 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-18 16:20 , Processed in 0.589555 second(s), Total 73, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号