diff --git a/ChangeLog b/ChangeLog index e9cf560ee..00126d41c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-05-04 Yoshinori K. Okuji + + * docs/grub.texi (partnew): Fixed the inconsistency between the + implementation and the documentation. The last argument is the + length instead of the ending address. + Reported by Daniel Farrell . + 2003-03-19 Yoshinori K. Okuji From Adam Lackorzynski : diff --git a/THANKS b/THANKS index d5dfb8f32..314d2e8e3 100644 --- a/THANKS +++ b/THANKS @@ -24,6 +24,7 @@ Cedric Ware Chip Salzenberg Christoph Plattner Dan J. Walters +Daniel Farrell Daniel Pittman Daniel Wagner Danilo Godec diff --git a/docs/grub.texi b/docs/grub.texi index 03db4cbbf..f6bf09e83 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -2089,12 +2089,11 @@ it is disabled. If no argument is given, the state is toggled. @node partnew @subsection partnew -@deffn Command partnew part type from to +@deffn Command partnew part type from len Create a new primary partition. @var{part} is a partition specification in GRUB syntax (@pxref{Naming convention}); @var{type} is the partition -type and must be a number in the range @code{0-0xff}; @var{from} and -@var{to} are the starting and ending sectors, expressed as an absolute -sector number. +type and must be a number in the range @code{0-0xff}; @var{from} is +the starting address and @var{to} is the length, both in sector units. @end deffn