diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-12-10 11:33:58 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-12-10 16:41:21 +0100 |
commit | f9ca93f2ba43a4cd794b377d59e0a321188bf066 (patch) | |
tree | 82e37f53d5106739fc0932b4641f6729e9422fbc /bootstrap.conf | |
parent | 787759a3109c600199a34e167f10035d78f4c981 (diff) | |
download | parted-f9ca93f2ba43a4cd794b377d59e0a321188bf066.tar.gz |
ui: add --align command-line option to specify mkpart alignment
The new --align command-line option can have the following values:
none: Use the minimum alignment allowed by the disk type
cylinder: Align partitions to cylinders (the default)
minimal: Use minimum alignment as given by the disk topology information
optimal: Use optimum alignment as given by the disk topology information
Note the "minimal" and "optimal" values will use layout information
provided by the disk to align the logical partition table addresses
to actual physical blocks on the disks. The "minimal" value is the
minimum aligment needed to align the partition properly to physical
blocks, which avoids performance degradation. Whereas the "optimum"
alignment align's to a multiple of the physical block size in a way
that guarantees optimal performance.
The "minimal" and "optimal" values are useful only when parted is
compiled with libblkid >= 2.17 and running on a kernel >= 2.6.31,
otherwise they are equivalent to --align=none.
* parted/parted.c (ALIGNMENT_ enum values): New enum.
(options, options_help): Add --align option.
(align_args, align_types, alignment): New global variables.
(do_mkpart): Honor aligment variable.
(_parse_options): handle --align option.
* bootstrap.conf (gnulib_modules): Add argmatch.
* NEWS: Mention the new --align option.
* doc/parted.texi: Document --align option.
* doc/C/parted.8: Likewise.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r-- | bootstrap.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index 09870cd..b382bd7 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -26,6 +26,7 @@ avoided_gnulib_modules=' gnulib_modules=" $avoided_gnulib_modules alloca announce-gen assert + argmatch calloc config-h configmake canonicalize-lgpl close |