Optimize FS creation
This commit is contained in:
parent
eb5f9826d8
commit
41ba6b4c2f
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue