diff options
| author | Serge Schneider <serge@raspberrypi.com> | 2022-05-04 15:21:12 +0100 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.com> | 2022-06-17 15:48:27 +0100 |
| commit | 00da85177cdd6a1446381fb45fd5439c9bba860a (patch) | |
| tree | 614f4d456cf21ba214bd2413aae6f6c92cca1204 /scripts | |
| parent | d3105c68ab08f6f9017f6a8d479e4eb018692180 (diff) | |
Adjust partition formatting and mount options
Format the root partition with the metadata_csum option
Format the boot partition with 4 sectors per cluster for a slight performance boost
Remove 'flush' mount option from the boot partition
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/qcow2_handling | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qcow2_handling b/scripts/qcow2_handling index 6b2a56b..66708e7 100644 --- a/scripts/qcow2_handling +++ b/scripts/qcow2_handling @@ -109,8 +109,8 @@ load_qimage() { EOF sync kpartx -as $NBD_DEV - mkdosfs -n boot -F 32 -v $MAP_BOOT_DEV - mkfs.ext4 -L rootfs -O "^huge_file,^metadata_csum,^64bit" $MAP_ROOT_DEV + mkdosfs -n boot -F 32 -s 4 -v $MAP_BOOT_DEV + mkfs.ext4 -L rootfs -O "^huge_file,^64bit" $MAP_ROOT_DEV sync else if [ ! -f "${WORK_DIR}/image-${PREV_STAGE}.qcow2" ]; then |
