[pve-devel] [PATCH proxmox-widget-toolkit/pve-storage] replace '(mounted)' string by boolean field

Hannes Laimer h.laimer at proxmox.com
Wed Jun 8 09:09:58 CEST 2022


The mounted status of a disk/partition is now a separate column instead
of the '(mounted)' that is added to the usage string. This change seems
reasonable on its own, but it is mostly so the UI works properly with
the data that will be returned from the PBS api.
We could also return the mountpoint instead of a boolean, the data is
already there, but I'm not sure if that's something that makes sense to
display in the grid, might end up looking a little 'cluttered'.


* pve-storage
Hannes Laimer (1):
  api2: disks: add mounted boolean field

 PVE/API2/Disks.pm | 1 +
 PVE/Diskmanage.pm | 7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)

* proxmox-widget-toolkit
Hannes Laimer (1):
  ui: disks: add 'mounted' column

 src/panel/DiskList.js | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-- 
2.30.2






More information about the pve-devel mailing list