Fabian Ebner a64aedd3eb diskmanage: allow passing partitions to get_disks
Requires that the $include_partitions parameter is set too, which:
1. Makes sense, because the partition won't be included in the result
   otherwise.
2. Ensures backwards compatibility for existing callers that don't
   use $include_partitions. No existing callers use both $disks and
   $include_partitions at the same time, so nothing learns to
   "support" partitions by accident.

Moving the strip_dev helper to the top, so it can be used everywhere.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-09-30 18:11:00 +02:00
2021-09-06 08:40:39 +02:00
2021-06-23 20:19:09 +02:00
Description
with PMEM support!
2.3 MiB
Languages
Perl 99.3%
Makefile 0.6%