the crypttab.d thing is called a drop-in directory. linux will read files you make in these and overwrite the config files with the values in the drop-in files. it’s a way to add your own edits to config files without editing the default config files directly, so you don’t have to say manually copy crypttab to crypttab.old for a backup and instead always have a default config to fall back to if things go wrong by just commenting out your few changes in the drop-in file.
Comment on Trouble automounting a LUKS parition that is on a mdadm raid6
Hercules@lemmy.world 2 days agoIs the /etc/crypttab.d path that you are using specificly chosen or can it be whatever? This path doesn’t exists on my system online i don’t see any mentions of it.
nublug@piefed.blahaj.zone 2 days ago
@Hercules I created it on my own, because I have some keys for other devices, too.
But you can place it, where you want.
But with crypttab.d I have a simple connection to crypttab configuration file.