feature/build-my-own-kernel-rootfs #1
@ -8,7 +8,7 @@ DISK_ROOT=../out/mount
|
|||||||
|
|
||||||
# Allocate rootfs disk
|
# Allocate rootfs disk
|
||||||
fallocate -l "$DISK_SIZE" "$DISK_FILE"
|
fallocate -l "$DISK_SIZE" "$DISK_FILE"
|
||||||
mkfs.ext4 $DISK_FILE
|
mkfs.ext4 -F $DISK_FILE
|
||||||
|
|
||||||
# Mount rootfs to mount
|
# Mount rootfs to mount
|
||||||
mkdir -p $DISK_ROOT
|
mkdir -p $DISK_ROOT
|
||||||
|
Loading…
Reference in New Issue
Block a user