summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-07-31 10:12:20 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-07-31 17:31:12 +0200
commit30f47559a693d8ae4a5f228646847f3fc381e097 (patch)
tree392cf64a6a1186096e455eabd806ceac402b92aa /perl-install
parent0810aa1a87ba9ded271f3c3d8037787d9866e1a0 (diff)
downloaddrakx-30f47559a693d8ae4a5f228646847f3fc381e097.tar
drakx-30f47559a693d8ae4a5f228646847f3fc381e097.tar.gz
drakx-30f47559a693d8ae4a5f228646847f3fc381e097.tar.bz2
drakx-30f47559a693d8ae4a5f228646847f3fc381e097.tar.xz
drakx-30f47559a693d8ae4a5f228646847f3fc381e097.zip
init: explain the differences between the two
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fsedit.pm14
1 files changed, 14 insertions, 0 deletions
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);