mount -a will ensure everything in /etc/fstab is mounted (except for noauto entries). Is there an equivalent for cryptsetup, which will unlock everything in /etc/crypttab?


No, not on current Debian Jessie Systems.

Reading the functions called from /etc/init.d/cryptsetup (/lib/cryptsetup/cryptdisk.functions), I can see, that the init-script uses egrep and read to read individual lines, which are then processed further (= mounted) by the script.

This result will most likely apply to all current Linux distributions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.