Diskmanage: also check for filesystem type when determining usage
Like this, a non-ZFS filesystem living on a whole disk will also be detected when it is not mounted. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
b6bbc2ab28
commit
59c03cd970
@ -1,7 +1,8 @@
|
||||
{
|
||||
"blockdevices": [
|
||||
{"path":"/dev/sdm", "parttype":null},
|
||||
{"path":"/dev/sdm1", "parttype":"6a898cc3-1dd2-11b2-99a6-080020736631"},
|
||||
{"path":"/dev/sdm9", "parttype":"6a945a3b-1dd2-11b2-99a6-080020736631"}
|
||||
{"path":"/dev/sdm", "parttype":null, "fstype":null},
|
||||
{"path":"/dev/sdm1", "parttype":"6a898cc3-1dd2-11b2-99a6-080020736631", "fstype":"zfs_member"},
|
||||
{"path":"/dev/sdm9", "parttype":"6a945a3b-1dd2-11b2-99a6-080020736631", "fstype":null},
|
||||
{"path":"/dev/sdn", "parttype":null, "fstype":"xfs"}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user