[pbs-devel] [PATCH proxmox-backup v3 0/6] fix #3690: wipe disk

Markus Frank m.frank at proxmox.com
Tue Nov 28 14:23:17 CET 2023


Wipe a disk/partition like we do in PVE. (wipefs, dd, change_parttype to 0x83
with sgdisk)

v3:
* rebase on master
* added more informations to commit message

v2:
* change unwraps to matches
* renamed regex

Markus Frank (6):
  fix #3690: pbs_api_types: add regex, format & schema for partition
    names to pbs-api-types
  fix #3690: tools: add wipe_blockdev & change_parttype rust equivalent
  fix #3690: api: add function wipe_disk
  fix #3690: cli: add function wipe_disk
  fix #3690: ui: enable wipe disk in StorageAndDisks
  tools: prohibit disk wipe of EFI partition

 pbs-api-types/src/lib.rs               |  10 ++
 src/api2/node/disks/mod.rs             |  53 +++++++++-
 src/bin/proxmox_backup_manager/disk.rs |  38 ++++++-
 src/tools/disks/mod.rs                 | 138 ++++++++++++++++++++++++-
 www/Utils.js                           |   1 +
 www/panel/StorageAndDisks.js           |   1 +
 6 files changed, 232 insertions(+), 9 deletions(-)

-- 
2.39.2






More information about the pbs-devel mailing list