From 62f5c23bc34e0223d8da0a7c87c791574b4b4c08 Mon Sep 17 00:00:00 2001 From: llenotre Date: Sun, 9 Jun 2024 15:34:15 +0200 Subject: [PATCH] fix: fill disk without sudo --- build.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/build.sh b/build.sh index 4c22674..b1143b1 100755 --- a/build.sh +++ b/build.sh @@ -13,12 +13,8 @@ cargo build --release -Zbuild-std --target "$TARGET" dd if=/dev/zero of=disk bs=1M count=1024 mkfs.ext2 disk -# Mount -mkdir -p mnt -sudo mount disk mnt - # Fill filesystem -cp "target/$TARGET/release/maestro-test" mnt/ - -# Cleanup -sudo umount mnt +debugfs -wf - disk <