From 5ef8d8d3b0bc889a548249c50daa449ed79d2f42 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Tue, 8 Aug 2023 12:34:19 +0200 Subject: [PATCH] Add uuid to block device listing --- src/system.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system.js b/src/system.js index db2585185..dd902e225 100644 --- a/src/system.js +++ b/src/system.js @@ -311,6 +311,7 @@ async function getBlockDevices() { path: d.name, size: d.fsavail || 0, type: d.fstype, + uuid: d.uuid, mountpoint: d.mountpoints ? d.mountpoints[0] : d.mountpoint // we only support one mountpoint here old lsblk only exposed one via .mountpoint }; });