]> git.proxmox.com Git - proxmox-backup.git/commit
fix #3690: api: add endpoint for wipe block devices
authorMarkus Frank <m.frank@proxmox.com>
Tue, 28 Nov 2023 13:23:20 +0000 (14:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 28 Nov 2023 17:25:29 +0000 (18:25 +0100)
commite87deca2f79eda608674b2a8c376e0ab5648191d
tree96443e61ed0e57edaef08831b096c36be74ce2fc
parent4b1c7e35e9c56d7d7fb9887cb8240b16c83c3b31
fix #3690: api: add endpoint for wipe block devices

An api function similar to PVE wipedisk function that takes a
disk/partition dev name as argument to wipe it in a new WorkerTask
thread.

Signed-off-by: Markus Frank <m.frank@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Max Carrara <m.carrara@proxmox.com>
Tested-by: Max Carrara <m.carrara@proxmox.com>
src/api2/node/disks/mod.rs