Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109339270
D47478.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D47478.diff
View Options
diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -324,6 +324,9 @@
msg_user_cancelled="User Cancelled."
msg_yes="YES"
msg_zfs_configuration="ZFS Configuration"
+msg_please_enter_options_for_your_zpool="Please enter options for your zpool"
+msg_zfs_options_name="ZFS Pool Options"
+msg_zfs_options_name_help="Customize ZFS options for the zpool to be created"
############################################################ FUNCTIONS
@@ -374,6 +377,8 @@
'$msg_swap_mirror_help'
'W $msg_swap_encrypt' '$swapgeli'
'$msg_swap_encrypt_help'
+ 'O $msg_zfs_options_name' '$ZFSBOOT_POOL_CREATE_OPTIONS'
+ '$msg_zfs_options_name_help'
" # END-QUOTE
local defaultitem= # Calculated below
local hline="$hline_alnum_arrows_punc_tab_enter"
@@ -1853,6 +1858,13 @@
ZFSBOOT_SWAP_ENCRYPTION=1
fi
;;
+ ?" $msg_zfs_options_name")
+ # Prompt the user to input/change the pool options
+ f_dialog_input input \
+ "$msg_please_enter_options_for_your_zpool" \
+ "$ZFSBOOT_POOL_CREATE_OPTIONS" &&
+ ZFSBOOT_POOL_CREATE_OPTIONS="$input"
+ ;;
esac
done
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 4, 6:54 PM (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15516951
Default Alt Text
D47478.diff (1 KB)
Attached To
Mode
D47478: zfsboot: Add an option to edit the ZFS pool creation options.
Attached
Detach File
Event Timeline
Log In to Comment