From ca70091347299f2acb755feef58a3b38ae921497 Mon Sep 17 00:00:00 2001 From: David Carley Date: Mon, 12 Sep 2022 04:29:04 +0000 Subject: [PATCH] Small tweak to the image creation script --- scripts/create-sdcard-image.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/create-sdcard-image.js b/scripts/create-sdcard-image.js index c5deb3f..24ae6d7 100755 --- a/scripts/create-sdcard-image.js +++ b/scripts/create-sdcard-image.js @@ -14,8 +14,9 @@ async function main() { const { uid } = statSync("."); - const devices = runCommand("df -T msdos") + const devices = runCommand("df -H -T msdos") .split("\n") + .filter(line => !line.includes("Filesystem")) .map(line => { const [ disk ] = line.split(/\s+/); return {