ProductFilesystemConfig

設定檔案系統的產品選項。選項包括要建構哪些檔案系統以及建構方式,但不包含衍生自板或分區大小的限制。

欄位類型說明預設
watch_for_nand bool 讓 fshost 監控 NAND 裝置。
volume VolumeConfig 要建構哪個磁碟區來存放檔案系統。 fxfs
no_zxcrypt bool 停用 zxcrypt。這個引數僅適用於使用 minfs 的情況。
image_name ImageName zbi 和 vbmeta 的檔案名稱。 紫紅色
image_mode FilesystemImageMode 檔案系統映像檔應放在獨立分區、RAM 磁碟,或不存在。 分區
format_data_on_corruption FormatDataOnCorruption 如果 format_data_on_corruption 為 true (預設值),fshost 會在發現 minfs 分割區損毀時進行格式化。如果設為 false,裝置會保持損毀狀態,這可能有助於偵錯。 true