]> git.proxmox.com Git - pve-storage.git/commit - PVE/Makefile
add Diskmanage Utilities
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 23 Aug 2016 10:20:45 +0000 (12:20 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 5 Sep 2016 09:31:19 +0000 (11:31 +0200)
commitcbba9b5b9c92d1dccf7c041df255497c11e8c02d
treecc1d925efcf79c9dbfbadd56be072e9fcf08545e
parent6d2b278c51181a50cfbe9694d4122194b4464df2
add Diskmanage Utilities

this adds the functions for listing the disks (mostly copied from
the ceph code), checking if a disk is a valid blockdevice, if it
is used/in a zfs pool/as an lvm pv, and an init function (just to add a gpt header;
this is important if one wants to use a fresh disk for ceph journals)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Diskmanage.pm [new file with mode: 0644]
PVE/Makefile