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 = [];