PhysicalDisk: adds option hideVirtual (defaults to false) and hideUnknown (defaults to true)

This commit is contained in:
李通洲
2026-04-08 15:42:03 +08:00
parent c09a788ce3
commit 17eb22dfdb
11 changed files with 205 additions and 80 deletions
+10
View File
@@ -3638,6 +3638,16 @@
"description": "Show disks with given name prefix only",
"type": "string"
},
"hideVirtual": {
"description": "Hide virtual disks (e.g. loop, RAM or file baked disks)",
"type": "boolean",
"default": false
},
"hideUnknown": {
"description": "Hide disks with `size == 0`",
"type": "boolean",
"default": true
},
"temp": {
"$ref": "#/$defs/temperature"
},