2003-05-04 Yoshinori K. Okuji <okuji@enbug.org>

* 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 <s2108287@student.rmit.edu.au>.
This commit is contained in:
okuji 2003-05-03 19:52:32 +00:00
parent 5eebfaf282
commit 90537aaed7
3 changed files with 11 additions and 4 deletions

View file

@ -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