Skip to content

Commit

Permalink
only on efi
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
enoch85 authored Dec 15, 2024
1 parent 7c52571 commit ccdd355
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion disk/format-chosen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,11 @@ then
check_command zfs set atime=off "$POOLNAME"
check_command zfs set recordsize=128k "$POOLNAME"
check_command zfs set logbias=latency "$POOLNAME"
check_command zfs set dnodesize=auto "$POOLNAME"
if [ -d /sys/firmware/efi ]
then
# dnodesize can't boot on BIOS, only UEFI mode
check_command zfs set dnodesize=auto "$POOLNAME"
fi

else
msg_box "It seems like /dev/$DEVTYPE does not exist.
Expand Down

0 comments on commit ccdd355

Please sign in to comment.