source: postlfs/filesystems/gptfdisk.xml@ 4f0d19b

lazarus trunk
Last change on this file since 4f0d19b was 0bd02907, checked in by Douglas R. Reno <renodr@…>, 3 months ago

gptfdisk: Remove the sed for UUID_H.

The fix for it was applied in gptfdisk-1.0.10.

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[810a2c6]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY gptfdisk-download-http "&sourceforge-dl;/gptfdisk/gptfdisk-&gptfdisk-version;.tar.gz">
[810a2c6]8 <!ENTITY gptfdisk-download-ftp " ">
[d1c7bee]9 <!ENTITY gptfdisk-md5sum "1970269eb7a97560e238611524b7797a">
10 <!ENTITY gptfdisk-size "216 KB">
11 <!ENTITY gptfdisk-buildsize "2.4 MB">
[e4cdecab]12 <!ENTITY gptfdisk-time "less than 0.1 SBU (add 0.2 SBU for tests)">
[810a2c6]13]>
14
15<sect1 id="gptfdisk" xreflabel="gptfdisk-&gptfdisk-version;">
16 <?dbhtml filename="gptfdisk.html"?>
17
18
19 <title>gptfdisk-&gptfdisk-version;</title>
20
21 <indexterm zone="gptfdisk">
22 <primary sortas="a-gptfdisk">gptfdisk</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to gptfdisk</title>
27
28 <para>
29 The <application>gptfdisk</application> package is a set of programs for
30 creation and maintenance of GUID Partition Table (GPT) disk drives. A
31 GPT partitioned disk is required for drives greater than 2 TB and is a
[2cfb576b]32 modern replacement for legacy PC-BIOS partitioned disk drives that use a
[810a2c6]33 Master Boot Record (MBR). The main program, <command>gdisk</command>,
[b9c353b]34 has an interface similar to the classic <command>fdisk</command> program.
[810a2c6]35 </para>
36
[1241ea19]37 &lfs121_checked;
[810a2c6]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[29244b7]42 <para>
43 Download (HTTP): <ulink url="&gptfdisk-download-http;"/>
44 </para>
[810a2c6]45 </listitem>
46 <listitem>
[29244b7]47 <para>
48 Download (FTP): <ulink url="&gptfdisk-download-ftp;"/>
49 </para>
[810a2c6]50 </listitem>
51 <listitem>
[29244b7]52 <para>
53 Download MD5 sum: &gptfdisk-md5sum;
54 </para>
[810a2c6]55 </listitem>
56 <listitem>
[29244b7]57 <para>
58 Download size: &gptfdisk-size;
59 </para>
[810a2c6]60 </listitem>
61 <listitem>
[29244b7]62 <para>
63 Estimated disk space required: &gptfdisk-buildsize;
64 </para>
[810a2c6]65 </listitem>
66 <listitem>
[29244b7]67 <para>
68 Estimated build time: &gptfdisk-time;
69 </para>
[810a2c6]70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing='compact'>
75 <listitem>
[29244b7]76 <para>
77 Recommended patch: <ulink url=
78 "&patch-root;/gptfdisk-&gptfdisk-version;-convenience-1.patch"/>
79 </para>
[0d7900a]80 </listitem>
[810a2c6]81 </itemizedlist>
82
83 <bridgehead renderas="sect3">gptfdisk Dependencies</bridgehead>
84
[9a94bef]85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="popt"/>
[73c05ba]88 </para>
89
[810a2c6]90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
[9a94bef]92 <xref linkend="icu"/>
[810a2c6]93 </para>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of gptfdisk</title>
99
100 <para>
[0d7900a]101 The <application>gptfdisk</application> package comes with a
[810a2c6]102 rudimentary <filename>Makefile</filename>. First we update it
[8558044]103 to provide a simple build and install interface and fix the
[d1c7bee]104 location of a header file and fix some minor location issues.
[810a2c6]105 Install <application>gptfdisk</application> by running the following
106 commands:
107 </para>
108
[aca449e3]109<screen><userinput>patch -Np1 -i ../gptfdisk-&gptfdisk-version;-convenience-1.patch &amp;&amp;
[90c883f]110sed -i 's|ncursesw/||' gptcurses.cc &amp;&amp;
[0bd02907]111sed -i 's|sbin|usr/sbin|' Makefile &amp;&amp;
[90c883f]112
[9a94bef]113make</userinput></screen>
[810a2c6]114
[c434186]115 <para>
116 To test the results, issue: <command>make test</command>.
117 </para>
[810a2c6]118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
[9a94bef]123<screen role="root"><userinput>make install</userinput></screen>
[810a2c6]124 </sect2>
125
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
129 <para>
[9a94bef]130 <command>patch -Np1 ...</command>: This patch modifies the
131 <filename>Makefile</filename> file so that it provides an
132 <quote>install</quote> target.
[810a2c6]133 </para>
134
135 </sect2>
136
137 <sect2 role="content">
138 <title>Contents</title>
139
140 <segmentedlist>
141 <segtitle>Installed Programs</segtitle>
142
143 <seglistitem>
144 <seg>
145 cgdisk, gdisk, fixparts, and sgdisk
146 </seg>
147 </seglistitem>
148 </segmentedlist>
149
150 <variablelist>
151 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
152 <?dbfo list-presentation="list"?>
153 <?dbhtml list-presentation="table"?>
154
155 <varlistentry id="cgdisk">
156 <term><command>cgdisk</command></term>
157 <listitem>
[29244b7]158 <para>
[4c24eb0a]159 is an ncurses-based tool for manipulating GPT partitions
[29244b7]160 </para>
[810a2c6]161 <indexterm zone="gptfdisk cgdisk">
162 <primary sortas="b-cgdisk">cgdisk</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="gdisk">
168 <term><command>gdisk</command></term>
169 <listitem>
[29244b7]170 <para>
[4c24eb0a]171 is an interactive text-mode tool for manipulating GPT partitions
[29244b7]172 </para>
[810a2c6]173 <indexterm zone="gptfdisk gdisk">
174 <primary sortas="b-gdisk">gdisk</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="fixparts">
180 <term><command>fixparts</command></term>
181 <listitem>
[29244b7]182 <para>
[4c24eb0a]183 repairs mis-formatted MBR based disk partitions
[29244b7]184 </para>
[810a2c6]185 <indexterm zone="gptfdisk fixparts">
186 <primary sortas="b-fixparts">fixparts</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="sgdisk">
192 <term><command>sgdisk</command></term>
193 <listitem>
[29244b7]194 <para>
195 is a partition manipulation program for
[4c24eb0a]196 GPT partitions similar to <command>sfdisk</command>
[29244b7]197 </para>
[810a2c6]198 <indexterm zone="gptfdisk sgdisk">
199 <primary sortas="b-sgdisk">sgdisk</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 </variablelist>
205 </sect2>
[4c24eb0a]206
[810a2c6]207</sect1>
Note: See TracBrowser for help on using the repository browser.