reorder the bpool to be consistent with the rpool

We stick to two rules here:

 * -o options come before -O

 * pool-specific options are wedged in between -o and
   -O (e.g. compatibility=grub2)

I don't know if that was a deliberate policy, I'm just trying to guess
what the pattern was

Signed-off-by: Antoine Beaupré <anarcat@debian.org>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
Antoine Beaupré
2022-05-20 11:48:51 -04:00
committed by Richard Laager
parent 16d2fe20df
commit bc5882432b

View File

@@ -226,9 +226,9 @@ Step 2: Disk Formatting
#. Create the boot pool:: #. Create the boot pool::
zpool create \ zpool create \
-o cachefile=/etc/zfs/zpool.cache \
-o ashift=12 \ -o ashift=12 \
-o autotrim=on -d \ -o autotrim=on -d \
-o cachefile=/etc/zfs/zpool.cache \
-o feature@async_destroy=enabled \ -o feature@async_destroy=enabled \
-o feature@bookmarks=enabled \ -o feature@bookmarks=enabled \
-o feature@embedded_data=enabled \ -o feature@embedded_data=enabled \
@@ -242,9 +242,9 @@ Step 2: Disk Formatting
-o feature@lz4_compress=enabled \ -o feature@lz4_compress=enabled \
-o feature@spacemap_histogram=enabled \ -o feature@spacemap_histogram=enabled \
-o feature@zpool_checkpoint=enabled \ -o feature@zpool_checkpoint=enabled \
-O devices=off \
-O acltype=posixacl -O xattr=sa \ -O acltype=posixacl -O xattr=sa \
-O compression=lz4 \ -O compression=lz4 \
-O devices=off \
-O normalization=formD \ -O normalization=formD \
-O relatime=on \ -O relatime=on \
-O canmount=off -O mountpoint=/boot -R /mnt \ -O canmount=off -O mountpoint=/boot -R /mnt \