From d3b4c2f394d1a78741735a046cb49c9d207ec7fd Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 15 Oct 2025 11:59:35 +0200 Subject: [PATCH] add note on confusing naming --- src/system.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system.js b/src/system.js index 69854419f..d0b0ba17f 100644 --- a/src/system.js +++ b/src/system.js @@ -326,6 +326,7 @@ async function getBlockDevices() { const info = safe.JSON.parse(output); if (!info) throw new BoxError(BoxError.INTERNAL_ERROR, `failed to parse lsblk: ${safe.error.message}`); + // despite the function and variable names, this is the partitions and not the block devices! const devices = info.blockdevices.filter(d => d.fstype === 'ext4' || d.fstype === 'xfs'); const result = [];