source: BOOK/final-system/ppc/parted.xml@ 1e3cb673

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1e3cb673 was fcab750, checked in by Ken Moffat <zarniwhoop@…>, 17 years ago

Get parted compiling again.

  • Property mode set to 100644
File size: 3.5 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-parted" role="wrap">
9 <?dbhtml filename="parted.html"?>
10
11 <title>Parted-&parted-version;</title>
12
13 <indexterm zone="ch-system-parted">
14 <primary sortas="a-Parted">Parted</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>Parted is a program for creating, copying and modifying partitions,
21 and the file systems on them. Parted is especially useful on PPC machines
22 in that, unlike <command>fdisk</command>, it accurately reads Macintosh
23 partition maps.</para>
24
25 </sect2>
26
27 <sect2 role="installation">
28 <title>Installation of Parted</title>
29
[55ab27c]30 <para os="a">Prepare Parted for compilation:</para>
[3f8be484]31
[fcab750]32<screen><userinput>./configure --prefix=/usr --disable-Werror</userinput></screen>
33
34 <variablelist os="b">
35 <title>The meaning of the configure options:</title>
36
37 <varlistentry os="b1">
38 <term><parameter>--disable-Werror</parameter></term>
39 <listitem>
40 <para>The Makefile defaults to using -Werror. With <package>gcc&gcc-version;</package>
41 that flag causes it to treat warnings (in this case, that C99 inline functions will
42 be compiled as GNU89) as errors. So, we disable the option.</para>
43 </listitem>
44 </varlistentry>
45
46 </variablelist>
[3f8be484]47
[55ab27c]48 <para os="c">Compile the Parted package:</para>
[3f8be484]49
[55ab27c]50<screen os="d"><userinput>make</userinput></screen>
[3f8be484]51
[55ab27c]52 <para os="e">Install the package:</para>
[3f8be484]53
[55ab27c]54<screen os="f"><userinput>make install</userinput></screen>
[3f8be484]55
56 </sect2>
57
58 <sect2 id="contents-parted" role="content">
59 <title>Contents of Parted</title>
60
61 <segmentedlist>
62 <segtitle>Installed programs</segtitle>
[2c6d8c4]63 <segtitle>Installed libraries</segtitle>
[3f8be484]64
65 <seglistitem>
[675ccbf]66 <seg>parted, partprobe</seg>
[2c6d8c4]67 <seg>libparted.[a,so]</seg>
[3f8be484]68 </seglistitem>
69 </segmentedlist>
70
71 <variablelist>
72 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
73 <?dbfo list-presentation="list"?>
74 <?dbhtml list-presentation="table"?>
75
76 <varlistentry id="parted">
77 <term><command>parted</command></term>
78 <listitem>
[675ccbf]79 <para>A program for creating, destroying, resizing, checking and
80 copying partitions, and the filesystems on them. This is useful
81 for creating space for new operating systems, reorganising disk
82 usage, copying data between hard disks, and disk imaging.</para>
[3f8be484]83 <indexterm zone="ch-system-parted parted">
84 <primary sortas="e-parted">parted</primary>
85 </indexterm>
86 </listitem>
87 </varlistentry>
88
[675ccbf]89 <varlistentry id="partprobe">
90 <term><command>partprobe</command></term>
91 <listitem>
92 <para>Informs the OS of partition table changes.</para>
93 <indexterm zone="ch-system-parted partprobe">
94 <primary sortas="e-partprobe">partprobe</primary>
95 </indexterm>
96 </listitem>
97 </varlistentry>
98
[2c6d8c4]99 <varlistentry id="libparted">
100 <term><filename class="libraryfile">libparted</filename></term>
101 <listitem>
102 <para>A library to manipulate partitions.</para>
103 <indexterm zone="ch-system-parted libparted">
104 <primary sortas="c-libparted">libparted</primary>
105 </indexterm>
106 </listitem>
107 </varlistentry>
108
[3f8be484]109 </variablelist>
110
111 </sect2>
112
113</sect1>
Note: See TracBrowser for help on using the repository browser.