完善资料让更多小伙伴认识你,还能领取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 |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
基于米尔瑞芯微RK3576核心板/开发板的人脸疲劳检测应用方案
892 浏览 0 评论
1101 浏览 1 评论
920 浏览 1 评论
2148 浏览 1 评论
3441 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-27 12:09 , Processed in 0.468279 second(s), Total 38, Slave 32 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (威廉希尔官方网站 图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号