Add uuid to block device listing
This commit is contained in:
@@ -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
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user