Add uuid to block device listing

This commit is contained in:
Johannes Zellner
2023-08-08 12:34:19 +02:00
parent e9f3f13564
commit 5ef8d8d3b0

View File

@@ -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
};
});