summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/gpt.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-11-22 15:58:13 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-11-22 16:04:19 +0100
commit280850cbe303d140ae7733f73bcb17c5903b60ed (patch)
tree0f1f8f1994e3f72b83930d22405387ea4cac8d00 /perl-install/partition_table/gpt.pm
parent9f3b9ebfdcebcfc9d202a9e2aa155278c83776f0 (diff)
downloaddrakx-280850cbe303d140ae7733f73bcb17c5903b60ed.tar
drakx-280850cbe303d140ae7733f73bcb17c5903b60ed.tar.gz
drakx-280850cbe303d140ae7733f73bcb17c5903b60ed.tar.bz2
drakx-280850cbe303d140ae7733f73bcb17c5903b60ed.tar.xz
drakx-280850cbe303d140ae7733f73bcb17c5903b60ed.zip
enhance partition_table doc
Diffstat (limited to 'perl-install/partition_table/gpt.pm')
-rw-r--r--perl-install/partition_table/gpt.pm25
1 files changed, 22 insertions, 3 deletions
diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm
index 010bac6fe..c155ed48e 100644
--- a/perl-install/partition_table/gpt.pm
+++ b/perl-install/partition_table/gpt.pm
@@ -10,9 +10,19 @@ use fs::type;
use partition_table::raw;
use c;
+=head1 SYNOPSYS
+
+Read/write GUID partition tables (GPT)
+
+See https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs for a list of exitings GUIDs
+
+=head1 Functions
+
+=over
+
+=cut
my $nb_primary = 128;
-# See https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs for a list of exitings GUIDs
sub first_usable_sector { 34 }
@@ -119,8 +129,13 @@ sub write {
$commit_level;
}
-# Hint partition_table::write() that telling the kernel to reread the
-# partition_table is not needed if we already succeeded in that:
+=item need_to_tell_kernel($hd)
+
+Hint partition_table::write() that telling the kernel to reread the
+partition_table is not needed if we already succeeded in that
+
+=cut
+
sub need_to_tell_kernel {
my ($hd) = @_;
# If we failed, try again (partion_table::tell_kernel() will unmount some partitions first)
@@ -139,4 +154,8 @@ sub can_add { &can_raw_add }
sub adjustStart {}
sub adjustEnd {}
+=back
+
+=cut
+
1;