Auto-enable 4k sector alignment when disk encryption is requested (it is

required in such a case). But don't prevent the user from pointing the
gun at his/her foot -- you can disable 4k alignment after enabling geli).

MFC after:	3 days
This commit is contained in:
Devin Teske 2013-12-16 19:54:55 +00:00
parent cf9c3e5697
commit 926ec73fe2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259481

View File

@ -1372,6 +1372,7 @@ while :; do
if [ "$ZFSBOOT_GELI_ENCRYPTION" ]; then
ZFSBOOT_GELI_ENCRYPTION=
else
ZFSBOOT_GNOP_4K_FORCE_ALIGN=1
ZFSBOOT_GELI_ENCRYPTION=1
fi
;;