mevdschee / bitlocker-luks-tools

29 stars 2 forks source link

sed command for /etc/crypttab doesn't work #5

Open therealmaxmoon opened 1 month ago

therealmaxmoon commented 1 month ago

The install.sh script tries to replace a line, which doesn't exist:

sed -i "s/none luks,discard/[UUID] luks,discard,keyscript=\/bin\/luksunlockusb/g" /etc/crypttab

I am using MX Linux 23.3 (AHS) and the term "none luks,discard" doesn't exist, because it looks like this:

luks,no-read-workqueue,no-write-workqueue,discard

And the script doesn't fail.

mevdschee commented 1 month ago

This is a feature request for MX Linux support. I didn't test on anything else than Debian, Ubuntu and Mint. Maybe this should be added to the readme.

mevdschee commented 1 month ago

The workqueues have a negative impact in write heavy situations and disabling might be good, see:

https://www.reddit.com/r/linux/comments/zkyzmh/if_your_system_is_installed_on_dmcrypt_and/