ProductFilesystemConfig

用于配置文件系统的产品选项。 这些选项包括要构建的文件系统以及构建方式,但不包含从开发板或分区大小派生的限制。

字段类型说明默认
watch_for_nand bool 让 fshost 监视 NAND 设备。
volume VolumeConfig 要构建哪个卷来存放文件系统。 fxfs
no_zxcrypt bool 停用 zxcrypt。此参数仅在使用 minfs 时适用。
image_name ImageName 要用于 zbi 和 vbmeta 的文件名。 紫红色
image_mode FilesystemImageMode 文件系统映像应放置在单独的分区中、ramdisk 中,还是不存在。 分区
format_data_on_corruption FormatDataOnCorruption 如果 format_data_on_corruption 为 true(默认值),则 fshost 会在发现 minfs 分区损坏时对其进行格式化。设置为 false 可使设备保持损坏状态,这可能有助于调试问题。 true