summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2012-03-12 21:41:29 +0000
committerjpaetzel <jpaetzel@FreeBSD.org>2012-03-12 21:41:29 +0000
commit258e8a9d9da0ee1649fa4695e47e65521d469faa (patch)
tree8090a22bb8572e1fb2a31a17b88d72ce5689bfeb /usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh
parent1f39c522b6640b045a8332fc5534be9cc2d52de7 (diff)
downloadFreeBSD-src-258e8a9d9da0ee1649fa4695e47e65521d469faa.zip
FreeBSD-src-258e8a9d9da0ee1649fa4695e47e65521d469faa.tar.gz
Use gpart "-a" flag to 4k alignment.
Submitted by: kris Obtained from: PC-BSD
Diffstat (limited to 'usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh')
-rwxr-xr-xusr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh b/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh
index 0c1e787..3e54df4 100755
--- a/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh
+++ b/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh
@@ -314,7 +314,7 @@ setup_gpart_partitions()
if [ "$CURPART" = "2" ] ; then
# If this is GPT, make sure first partition is aligned to 4k
sleep 2
- rc_halt "gpart add -b 2016 ${SOUT} -t ${PARTYPE} ${_pDisk}"
+ rc_halt "gpart add -a 4k ${SOUT} -t ${PARTYPE} ${_pDisk}"
else
sleep 2
rc_halt "gpart add ${SOUT} -t ${PARTYPE} ${_pDisk}"
OpenPOWER on IntegriCloud