Modify partition creation command to align partitions to 1M boundaries.

Suggested by forum user tankist02.
This commit is contained in:
Warren Block 2016-01-04 22:04:12 +00:00
parent 8578ae80bf
commit 5943ca0425
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47952

View file

@ -135,10 +135,12 @@
</note>
<para>The partition scheme is created, and then a single partition
is added:</para>
is added. To improve performance on newer disks with larger
hardware block sizes, the partition is aligned to one megabyte
boundaries:</para>
<screen>&prompt.root; <userinput>gpart create -s GPT ada1</userinput>
&prompt.root; <userinput>gpart add -t freebsd-ufs ada1</userinput></screen>
&prompt.root; <userinput>gpart add -t freebsd-ufs -a 1M ada1</userinput></screen>
<para>Depending on use, several smaller partitions may be desired.
See &man.gpart.8; for options to create partitions smaller than