You are not logged in.
Hi,
I have a dockingstation with a harddrive containing an encrypted partition. As my laptop is (obvoisly) not docked all the time, I set the noauto flag in /etc/crypttab. In this case /etc/crypttab has no use, as I cant use the information stored there, to unlock and mount this partition.
When googling that issue, I found cryptdisks_start(man) and cryptdisks_stop(man), which wrap around cryptsetup and use the information from /etc/crypttab These scripts are provided by the debian package maintainers.
Is there something similar for ArchLinux? Did I miss the ArchWay here?
htho
Offline
You can write a script that contains the required cryptsetup command. Don't forget to change the permissions so that only root can read the information, similar to crypttab.
This seems to be simpler than using a wrapper that parses crypttab.
Offline