Difference between revisions of "Parted"

From CBLFS
Jump to navigationJump to search
 
(14 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
 
|}
 
|}
  
 
----
 
----
  
== 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 ===
 +
 
 +
If you would like to build Parted with [[device-mapper]] support then add the following to configure:
  
== Dependencies ==
+
--enable-device-mapper
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 17: Line 24:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --disable-Werror &&
 
  make
 
  make
  
Line 30: 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 41: 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 52: 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 63: 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 77: 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"
 
! program2
 
| ???
 
 
|-valign="top"
 
|-valign="top"
! library1.{so,a}
+
!libparted
| ???
+
|Library containing disk and file system manipulation functions.
 
|}
 
|}
 +
 +
[[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"