Optimize FS creation

This commit is contained in:
Aleksey Samoilov 2022-07-29 11:05:17 +04:00
parent eb5f9826d8
commit 41ba6b4c2f

View file

@ -224,8 +224,8 @@ bootp=${device}p1
rootp=${device}p2 rootp=${device}p2
# Create file systems # Create file systems
mkfs.vfat -n system-boot "$bootp" mkfs.vfat -n system-boot -S 512 -s 16 -v "$bootp"
mkfs.ext4 -L writable "$rootp" mkfs.ext4 -L writable -m 0 "$rootp"
# Create the dirs for the partitions and mount them # Create the dirs for the partitions and mount them
mkdir -p "${basedir}/bootp" "${basedir}/root" mkdir -p "${basedir}/bootp" "${basedir}/root"