feature/build-my-own-kernel-rootfs #1
@ -9,7 +9,7 @@ DISK_FILE=../out/arch-rootfs.ext4
|
||||
DISK_ROOT=../out/mount
|
||||
|
||||
# Allocate rootfs disk
|
||||
dd if=/dev/zero of="$DISK_FILE" bs=1M count="$DISK_SIZE"
|
||||
fallocate -l "$DISK_SIZE" "$DISK_FILE"
|
||||
mkfs.ext4 $DISK_FILE
|
||||
|
||||
# Mount rootfs to mount
|
||||
|
Loading…
Reference in New Issue
Block a user