@ifnottex @c texi2pdf don't understand copying and insertcopying ???
@c modifications must also be done in the titlepage
@copying
-Copyright @copyright{} 1999-2009 Free Software Foundation, Inc.
+Copyright @copyright{} 1999-2010 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
-under the terms of the GNU Free Documentation License, Version 1.1 or
+under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the section entitled ``GNU
@end ifplaintext
@end ifnottex
+@dircategory System administration
@direntry
* parted: (parted). GNU partitioning software
@end direntry
Copyright @copyright{} 1999-2009 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
-under the terms of the GNU Free Documentation License, Version 1.1 or
+under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the section entitled ``GNU
* Related information:: Further reading on related topics
* Copying This Manual:: How to make copies of this manual
* History:: This manual's history
-@ifnotplaintext
-* Index:: Index of referenced concepts
-@end ifnotplaintext
+* Concept index:: Concept index
@end menu
@node Introduction
@itemx --script
never prompt the user
+@item -a alignment-type
+@itemx --align alignment-type
+Set alignment for newly created partitions, valid alignment types are:
+none, cylinder, minimal and optimal.
+
@item -v
@itemx --version
display the version
GNU Parted provides the following commands:
@menu
+* align-check::
* check::
* cp::
* help::
* unit::
@end menu
+@node align-check
+@subsection align-check
+@cindex align-check, command description
+@cindex command description, align-check
+
+@deffn Command align-check @var{align-type} @var{n}
+
+Determine whether the starting sector of partition @var{n}
+meets the disk's selected alignment criteria.
+@var{align-type} must be @samp{minimal}, @samp{optimal}
+or an abbreviation.
+When in script mode, if the partition does not meet the alignment
+requirement, exit with status 1; otherwise (including on older
+kernels for which alignment data is not available), continue processing
+any remaining commands.
+Without @option{--script}, print either @samp{@var{N} aligned}
+or @samp{@var{N} not aligned}.
+
+Example:
+
+@example
+(parted) @kbd{align-check minimal 1}
+1 aligned
+@end example
+
+@end deffn
+
@node check
@subsection check
@cindex check, command description
@cindex mkpart, command description
@cindex command description, mkpart
-@deffn Command mkpart @var{part-type} [@var{fs-type}] @var{start} @var{end}
+@deffn Command mkpart [@var{part-type} @var{fs-type} @var{name}] @var{start} @var{end}
Creates a new partition, @emph{without} creating a new file system on
that partition. This is useful for creating partitions for file systems
are the offset from the beginning of the disk, that is, the ``distance''
from the start of the disk.
-@var{part-type} is one of: primary, extended, logical. Extended and
-logical are only used for msdos and dvh disk labels.
+@var{part-type} is one of @samp{primary}, @samp{extended} or @samp{logical},
+and may be specified only with @samp{msdos} or @samp{dvh} partition tables.
+A @var{name} must be specified for a @samp{gpt} partition table.
+Neither @var{part-type} nor @var{name} may be used with a @samp{sun}
+partition table.
-@var{fs-type} must be on of these supported file systems:
+@var{fs-type} must be one of these supported file systems:
@itemize @bullet
@item ext2
@item fat16, fat32
depending on what disk label you are using:
@table @samp
+
+@item bios_grub
+(GPT) - Enable this to record that the selected partition is a
+GRUB BIOS partition.
+
@item boot
(Mac, MS-DOS, PC98) - should be enabled if you want to boot off the
partition. The semantics vary between disk labels. For MS-DOS disk
Front-Cover Texts, and with no Back-Cover Texts. @xref{Copying
This Manual}, for details.
-@c FIXME: why doesn't this @ifnotplaintext work?!
-@c @ifnotplaintext
-@node Index
+@node Concept index
@unnumbered Index
@printindex cp
-@c @end ifnotplaintext
@bye