[parted-devel] [PATCH 14/14] Correctly describe mkpart command in documentation.

Joel Granados jgranado at redhat.com
Mon Jun 8 09:51:51 UTC 2009


On Fri, Jun 05, 2009 at 05:05:01PM +0200, Gilles Espinasse wrote:
> 
> ----- "Joel Granados Moreno" <jgranado at redhat.com> a écrit :
> 
> > * doc/parted.texi : Make sure that part-type is portrayed as an
> >   optional argument.  Mention the "special behaviors" that mkpart has
> >   with specific disk label types.
> > ---
> >  doc/parted.texi |    7 ++++---
> >  1 files changed, 4 insertions(+), 3 deletions(-)
> > 
> > diff --git a/doc/parted.texi b/doc/parted.texi
> > index 936a1f6..7105759 100644
> > --- a/doc/parted.texi
> > +++ b/doc/parted.texi
> > @@ -673,7 +673,7 @@ Make a @var{fat32} file system on partition 2.
> >  @cindex mkpart, command description
> >  @cindex command description, mkpart
> >  
> > - at deffn Command mkpart @var{part-type} [@var{fs-type}] @var{start}
> > @var{end}
> > + at 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
> > @@ -684,8 +684,9 @@ partitions (i.e., non-extended partitions). 
> > @var{start} and @var{end}
> >  are the offset from the beginning of the disk, that is, the
> > ``distance''
> >  from the start of the disk.
> >  
> > - at var{part-type} is one of: primary, extended, logical.  Extended and
> > -logical are only used for msdos and dvh disk labels.
> > + at var{part-type} is one of: primary, extended, logical.  These must only be
> > +used with msdos and dvh disk labels. @var{name} must be used with gpt disk
> > +labels. @var{part-type} and @var{name} must not be used with sun disk
> > lables.
> >  
> Fine for me except the typo s/lables/labels/

shit!!!  good catch, thx.

> 
> Gilles

-- 
Joel Andres Granados
Brno, Czech Republic, Red Hat.



More information about the parted-devel mailing list