From 30f47559a693d8ae4a5f228646847f3fc381e097 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 31 Jul 2016 10:12:20 +0200 Subject: init: explain the differences between the two --- perl-install/fsedit.pm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'perl-install') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 36bda4a14..a013cc679 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -610,12 +610,26 @@ sub change_type { 1; } +=item partition_table_clear_and_initialize($lvms, $hd, $o_in, $o_type, $b_warn) = @_; + +wrapper around partition_table::initialize(). + +=cut + sub partition_table_clear_and_initialize { my ($lvms, $hd, $o_in, $o_type, $b_warn) = @_; $hd->clear_existing; partition_table_initialize($lvms, $hd, $o_in, $o_type, $b_warn); } +=item partition_table_initialize($lvms, $hd, $o_in, $o_type, $b_warn) = @_; + +wrapper around partition_table::initialize() like +partition_table_clear_and_initialize() but which also create a singleton VG +automatically (so that it's easier for the user) + +=cut + sub partition_table_initialize { my ($lvms, $hd, $o_in, $o_type, $b_warn) = @_; partition_table::initialize($hd, $o_type); -- cgit v1.2.1