From 41ba6b4c2f6f2a85d7072b994461e1f2549c0960 Mon Sep 17 00:00:00 2001 From: Sunderland93 Date: Fri, 29 Jul 2022 11:05:17 +0400 Subject: [PATCH] Optimize FS creation --- build-rpi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-rpi.sh b/build-rpi.sh index a22af8d..ca6dc07 100755 --- a/build-rpi.sh +++ b/build-rpi.sh @@ -224,8 +224,8 @@ bootp=${device}p1 rootp=${device}p2 # Create file systems -mkfs.vfat -n system-boot "$bootp" -mkfs.ext4 -L writable "$rootp" +mkfs.vfat -n system-boot -S 512 -s 16 -v "$bootp" +mkfs.ext4 -L writable -m 0 "$rootp" # Create the dirs for the partitions and mount them mkdir -p "${basedir}/bootp" "${basedir}/root"