source: postlfs/filesystems/gptfdisk.xml

trunk
Last change on this file was 0bd02907, checked in by Douglas R. Reno <renodr@…>, 8 weeks 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
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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
7 <!ENTITY gptfdisk-download-http "&sourceforge-dl;/gptfdisk/gptfdisk-&gptfdisk-version;.tar.gz">
8 <!ENTITY gptfdisk-download-ftp " ">
9 <!ENTITY gptfdisk-md5sum "1970269eb7a97560e238611524b7797a">
10 <!ENTITY gptfdisk-size "216 KB">
11 <!ENTITY gptfdisk-buildsize "2.4 MB">
12 <!ENTITY gptfdisk-time "less than 0.1 SBU (add 0.2 SBU for tests)">
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
32 modern replacement for legacy PC-BIOS partitioned disk drives that use a
33 Master Boot Record (MBR). The main program, <command>gdisk</command>,
34 has an interface similar to the classic <command>fdisk</command> program.
35 </para>
36
37 &lfs121_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&gptfdisk-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&gptfdisk-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &gptfdisk-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &gptfdisk-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &gptfdisk-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &gptfdisk-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing='compact'>
75 <listitem>
76 <para>
77 Recommended patch: <ulink url=
78 "&patch-root;/gptfdisk-&gptfdisk-version;-convenience-1.patch"/>
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">gptfdisk Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="popt"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="icu"/>
93 </para>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of gptfdisk</title>
99
100 <para>
101 The <application>gptfdisk</application> package comes with a
102 rudimentary <filename>Makefile</filename>. First we update it
103 to provide a simple build and install interface and fix the
104 location of a header file and fix some minor location issues.
105 Install <application>gptfdisk</application> by running the following
106 commands:
107 </para>
108
109<screen><userinput>patch -Np1 -i ../gptfdisk-&gptfdisk-version;-convenience-1.patch &amp;&amp;
110sed -i 's|ncursesw/||' gptcurses.cc &amp;&amp;
111sed -i 's|sbin|usr/sbin|' Makefile &amp;&amp;
112
113make</userinput></screen>
114
115 <para>
116 To test the results, issue: <command>make test</command>.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124 </sect2>
125
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
129 <para>
130 <command>patch -Np1 ...</command>: This patch modifies the
131 <filename>Makefile</filename> file so that it provides an
132 <quote>install</quote> target.
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>
158 <para>
159 is an ncurses-based tool for manipulating GPT partitions
160 </para>
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>
170 <para>
171 is an interactive text-mode tool for manipulating GPT partitions
172 </para>
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>
182 <para>
183 repairs mis-formatted MBR based disk partitions
184 </para>
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>
194 <para>
195 is a partition manipulation program for
196 GPT partitions similar to <command>sfdisk</command>
197 </para>
198 <indexterm zone="gptfdisk sgdisk">
199 <primary sortas="b-sgdisk">sgdisk</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 </variablelist>
205 </sect2>
206
207</sect1>
Note: See TracBrowser for help on using the repository browser.