]> git.proxmox.com Git - pve-storage.git/commit
partially fix #2285: api: disks: allow partitions for creation paths
authorFabian Ebner <f.ebner@proxmox.com>
Wed, 6 Oct 2021 09:18:45 +0000 (11:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Oct 2021 12:39:26 +0000 (14:39 +0200)
commita2c34371e60727749b8b6aa985a9949985ad7045
treeaea8b271f4b9d994c9c6412417bcd797548bac66
parentcc884f73d8527722df56f11acb3eced13cd4f2e4
partially fix #2285: api: disks: allow partitions for creation paths

The calls for directory and ZFS need slight adaptations. Except for
those, the only thing that needs to be done is support partitions in
the disk_is_used helper.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/API2/Disks/Directory.pm
PVE/API2/Disks/ZFS.pm
PVE/Diskmanage.pm