Difference between revisions of "Parted"

From CBLFS
Jump to navigationJump to search
 
(13 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://ftp.gnu.org/gnu/parted/parted-{{Parted-Version}}.tar.bz2
+
| http://ftp.gnu.org/gnu/parted/parted-{{Parted-Version}}.tar.xz
|-valign-"top"
 
!Download Source:
 
| http://ftp.gnu.org/gnu/parted/parted-1.7.1.tar.bz2
 
!(See Dependencies section below)
 
 
|}
 
|}
  
 
----
 
----
  
== Introduction to Parted ==
+
{{Package-Introduction|Parted is a package that provides utilities for creating, destroying, resizing, checking and copying partitions and the file systems on the partitions.  Parted provides a command-line interface that also serves as a sample implementation and script backend.  The library allows the use of a GUI, such as [[GParted]] or [[QTParted]], for the front end to parted.|http://www.gnu.org/software/parted/index.shtml}}
  
<Package Description Needed>
+
== Dependencies ==
 +
 
 +
=== Optional ===
 +
* [[device-mapper]]
 +
 
 +
=== Configuration Information ===
  
== Dependencies ==
+
If you would like to build Parted with [[device-mapper]] support then add the following to configure:
  
<b>NOTE:</b> The version of HAL currently provided by CBLFS is 0.5.8.1. This version of HAL specifically looks for Parted-1.7.1.
+
  --enable-device-mapper
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 23: Line 24:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --disable-Werror &&
 
  make
 
  make
  
Line 36: Line 37:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --disable-Werror &&
 
  make
 
  make
  
Line 47: Line 48:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --disable-Werror \
 +
    --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 58: Line 60:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --disable-Werror \
 +
    --libdir=/usr/lib64 &&
 
  make
 
  make
  
Line 69: Line 72:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-valign="top"
 
|-valign="top"
! Installed Programs:
+
! Installed Directories:
 
| ???
 
| ???
 +
|-valign="top"
 +
!Installed Programs:
 +
|Parted
 
|-valign="top"
 
|-valign="top"
 
! Installed Libraries:
 
! Installed Libraries:
| ???
+
|libparted
|-valign="top"
 
! Installed Directories:
 
| ???
 
 
|}
 
|}
  
Line 83: Line 86:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-valign="top"
 
|-valign="top"
! program1
+
!Parted
| ???
+
|Command line utility to manipulate disk partitions and associated file systems.
 
|-valign="top"
 
|-valign="top"
! program2
+
!libparted
| ???
+
|Library containing disk and file system manipulation functions.
|-valign="top"
 
! library1.{so,a}
 
| ???
 
 
|}
 
|}
 +
 +
[[Category:General Utilities]]

Latest revision as of 21:13, 5 December 2010

Download Source: http://ftp.gnu.org/gnu/parted/parted-2.3.tar.xz

Introduction to Parted

Parted is a package that provides utilities for creating, destroying, resizing, checking and copying partitions and the file systems on the partitions. Parted provides a command-line interface that also serves as a sample implementation and script backend. The library allows the use of a GUI, such as GParted or QTParted, for the front end to parted.

Project Homepage: http://www.gnu.org/software/parted/index.shtml

Dependencies

Optional

Configuration Information

If you would like to build Parted with device-mapper support then add the following to configure:

--enable-device-mapper

Non-Multilib

Compile the package:

./configure --prefix=/usr --disable-Werror &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --disable-Werror &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --disable-Werror \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --disable-Werror \
    --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Directories: ???
Installed Programs: Parted
Installed Libraries: libparted

Short Descriptions

Parted Command line utility to manipulate disk partitions and associated file systems.
libparted Library containing disk and file system manipulation functions.
Retrieved from "?title=Parted&oldid=20747"