Commit 0b15fbb7 authored by Benjamin Slade's avatar Benjamin Slade

format trim-related messages to user more readably

parent a2bbc27a
......@@ -109,7 +109,9 @@ zpool set cachefile=/etc/zfs/zpool.cache ${ZPOOLNAME} # IMPORTANT
if [[ ${ROTATIONAL} == 0 ]]
then
read -p "You appear to be running an SSD. You can set up automatic TRIM for better wear-levelling performance. (You can always turn this feature on/off later, or handle TRIM manually.)
Note that minimal data leakage in the form of freed block information, perhaps sufficient to determine the filesystem in use, may occur on LUKS-encrypted devices with TRIM enabled ( see https://wiki.archlinux.org/index.php/Dm-crypt/Specialties#Discard/TRIM_support_for_solid_state_drives_(SSD) for more information ).
Would you like to set up automatic TRIM? [Y/n]: " TRIM
TRIM=${TRIM:-Y}
if [ ${TRIM} == "Y" ] || [ ${TRIM} == "y" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment